12 lines
338 B
JavaScript
12 lines
338 B
JavaScript
|
const config = require("../config.json");
|
||
|
|
||
|
function inject (client) {
|
||
|
const cmdError = (function (message) {
|
||
|
client.cmdCore.run(`extras:broadcastraw &c${String(message)} \n&4${client.cmd} ${client.args.join(" ") || ""} &c←[here]`);
|
||
|
})
|
||
|
|
||
|
client.cmdError = cmdError;
|
||
|
return cmdError;
|
||
|
}
|
||
|
|
||
|
module.exports = { inject };
|