From 5c15e0dc4b0c4a7ab9d71275a1c81632d9acf3cd Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Fri, 9 Dec 2022 17:54:02 +0700 Subject: [PATCH] among us --- bot.js | 1 + 1 file changed, 1 insertion(+) 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'