mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -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) {
|
async function createBot (server, config, getBots, setNewBot, dcclient, rl) {
|
||||||
const bot = new EventEmitter()
|
const bot = new EventEmitter()
|
||||||
|
bot.setMaxListeners(Infinity) // is this bad code?
|
||||||
bot.options = {
|
bot.options = {
|
||||||
username: !server.kaboom
|
username: !server.kaboom
|
||||||
? 'ChomeNS_Bot'
|
? 'ChomeNS_Bot'
|
||||||
|
|
Loading…
Reference in a new issue