9 lines
202 B
JavaScript
9 lines
202 B
JavaScript
|
const config = require("../config.json");
|
||
|
|
||
|
function inject (client) {
|
||
|
class PluginError extends Error {}
|
||
|
client.PluginError = PluginError;
|
||
|
return PluginError;
|
||
|
}
|
||
|
|
||
|
module.exports = { inject };
|