mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 07:38:00 -05:00
among us
This commit is contained in:
parent
e6b64c2386
commit
5c15e0dc4b
1 changed files with 1 additions and 0 deletions
1
bot.js
1
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'
|
||||
|
|
Loading…
Reference in a new issue