v0idp/Mellow

Discord Disconnect bug

Motophan opened this issue · 6 comments

https://pastebin.com/xSpuLiEj

ping 162.159.136.234
PING 162.159.136.234 (162.159.136.234) 56(84) bytes of data.
64 bytes from 162.159.136.234: icmp_seq=1 ttl=55 time=1.42 ms
64 bytes from 162.159.136.234: icmp_seq=2 ttl=55 time=1.39 ms

Whenever my internet connection farts for a second it will crash and will require a container reboot. I am running mellow in a docker container latest develop branch.

I'm having the same issue. Have you found any workaround @Motophan besides restarting the container?

v0idp commented

pushed a eventlistener to catch all unhandlec exception emitted by the bot. that should stop the crashing and probably automatically reconnect the bot (discord.js should do that automatically) I'll keeo this issue open and wait for your feedbacks.

Thanks @v0idp, just pulled :develop and will let it run overnight to see if it still crashes.

After running overnight the Discord bot is still online, so it looks like it's fixed. Thanks for the patch @v0idp!

Bot is still online!

v0idp commented

I'll close this. Seems to be fixed.