12 lines
332 B
JavaScript
12 lines
332 B
JavaScript
|
const config = require("../config.json");
|
||
|
const { MessageBuilder } = require("prismarine-chat")(config.version)
|
||
|
|
||
|
function inject (client) {
|
||
|
const bcraw = (function (message) {
|
||
|
client.cmdCore.run(`extras:broadcastraw ${String(message)}`);
|
||
|
})
|
||
|
client.bcraw = bcraw;
|
||
|
return bcraw;
|
||
|
}
|
||
|
|
||
|
module.exports = { inject };
|