From d20bbabc94f4e47757566f81ce6f390d17a6b076 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Fri, 25 Nov 2022 16:40:49 +0700 Subject: [PATCH] i forgor server.host === thing --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index d7d62fa..27290cb 100644 --- a/bot.js +++ b/bot.js @@ -28,7 +28,7 @@ const mineflayer = require('mineflayer'); async function createBot(server, config, getBots, dcclient, rl) { const bot = new EventEmitter(); bot.options = { - username: /* process.argv[2] */ server.host === 'mc.chomens41793.ga' ? + username: /* process.argv[2] */ !server.kaboom ? 'ChomeNS_Bot' : randomstring.generate(16), host: /* process.argv[2] */ server.host,