11 lines
No EOL
288 B
JavaScript
11 lines
No EOL
288 B
JavaScript
const config = require("../config.json");
|
|
|
|
function inject (client) {
|
|
const coresay = (function (message) {
|
|
client.cmdCore.run(`extras:broadcastraw ${config.coreName} &f${message}`);
|
|
});
|
|
client.coresay = coresay;
|
|
return coresay;
|
|
}
|
|
|
|
module.exports = { inject }; |