radium-v2/plugins/bcraw.js

12 lines
No EOL
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 };