mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
no its not
This commit is contained in:
parent
94517b0a63
commit
aa9c854888
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
@ -17,8 +17,7 @@ dcclient.on('ready', () => {
|
|||
bots = bots.filter((eachBot) => eachBot !== server)
|
||||
bots.push(bot)
|
||||
}
|
||||
// await is important cuz the function is async
|
||||
await createBot(server, config, getBots, setNewBot, dcclient, rl)
|
||||
createBot(server, config, getBots, setNewBot, dcclient, rl)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue