baabaablackgoat / SolsticeBot

A (pretty damn useless) bot, designed with Discord.js. THIS CODE IS UNCLEAAAAN!
1 stars 1 forks source link

bot.on(ready) is being called more than once #56

Closed baabaablackgoat closed 7 years ago

baabaablackgoat commented 7 years ago

...not sure if this is intended behaviour, but I don't think it is.

baabaablackgoat commented 7 years ago

57 No major changes, mainly hidden stuff-ish.

Had to do with my settings and my habit of using ctrl+c instead of properly logging out via pls die

The bot will run ready() again if he loses internet access and reconnects or has to soft-restart from internal errors. The other situation where it happens is if Discord thinks multiple clients are still "logged in" and they're all on one machine

tldr use the command you dingus