You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.
When connection is lost to the server, the piepan instance exits which I think is logical and should stay. However I was wondering if there was some way to handle a disconnect event for things like having the bot attempt to reconnect X number of times. On a semi related note, there doesn't seem to be a disconnect type for when a user is kicked.
What I'm mainly asking for is if theres some way to tell the bot to reconnect before it completes the disconnect event, and if that reconnection is successful then to cancel the disconnect event. Any helpful info you might be able to provide would be much appreciated, thank you.
The text was updated successfully, but these errors were encountered:
@bontibon Ok, I suppose that script should be suitable for now. As far as the "feature request" goes, I think the ability to script the bot to reconnect would be more desirable than simply built-in auto reconnect functionality. This way any variables in the programs still hold their values. So things like connection attempts can be tracked internally and such. Some way to reconnect via a disconnect event handler that can prevent the disconnect from happening.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When connection is lost to the server, the piepan instance exits which I think is logical and should stay. However I was wondering if there was some way to handle a disconnect event for things like having the bot attempt to reconnect X number of times. On a semi related note, there doesn't seem to be a disconnect type for when a user is kicked.
What I'm mainly asking for is if theres some way to tell the bot to reconnect before it completes the disconnect event, and if that reconnection is successful then to cancel the disconnect event. Any helpful info you might be able to provide would be much appreciated, thank you.
The text was updated successfully, but these errors were encountered: