Replies: 1 comment 12 replies
-
|
The |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
It's a problem for a while that DiscordJS based bot might just stop the working even process itslef is still running and not failed. This happens always when there are network failures and disconnects. Is any way to handle the possible disconnect and run the reconnect from the scratch? Or at least self-kill process and let things like SystemD to restart the process. Recently I had two such accidents, like district-wide power surge that caused network fail, my server continued to work glad to the UPS thing. However, bot lost the connection and just hanged forever.
So, there are two questions:
It's just to let bot self-restart or attempt to reconnect after network failures. Otherwise it's a pretty annoying case that bot is unable to self-repair in such cases.
Beta Was this translation helpful? Give feedback.
All reactions