diff --git a/bot.js b/bot.js index c2301f6..21c2efd 100644 --- a/bot.js +++ b/bot.js @@ -27,6 +27,7 @@ const mineflayer = require('mineflayer') */ async function createBot (server, config, getBots, setNewBot, dcclient, rl) { const bot = new EventEmitter() + bot.setMaxListeners(Infinity) // is this bad code? bot.options = { username: !server.kaboom ? 'ChomeNS_Bot'