SomeoneElse37 / BattleBot

A Discord bot that rolls dice and stuff.
MIT License
0 stars 1 forks source link

goes offline after a while #14

Open lenscas opened 7 years ago

lenscas commented 7 years ago

It appears that the bot goes offline after a while. Perhaps crash? (can't login right now to check)

SomeoneElse37 commented 7 years ago

I've no idea, and no way to know without access to your server.

I've only ever had the bot crash on me once, and that was when I made a bug that threw an exception that triggered some other code that threw a RuntimeError that wasn't caught by anything that ended up crashing the whole program. Or something like that; all I remember for sure is that it dumped a really long stacktrace into my terminal instead of in a message, because it crashed while trying to send a message.

And then I fixed the root cause of it, I'm pretty sure.

lenscas commented 7 years ago

I looked at it and it was a "connection reset by peer" Thus I wouldn't be surprised if it was just because it had nothing to do for a long while