no its not

This commit is contained in:
ChomeNS 2022-12-30 16:20:12 +07:00
parent 94517b0a63
commit aa9c854888

View file

@ -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)
})
})