New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable reconnect interval via config #484
Comments
How to turn it off |
[bot.connect]
reconnect_interval = [] # off
reconnect_interval = ["30s", "1m", "5m"] # intervals
reconnect_interval = ["30s", "1m", "5m", "repeat"] # or "+" or "loop" to repeat last value indefinitely |
That's even better :> i would suggest using |
Im thinking about a whole new section for reconnect to allow some other settings maybe 🤔 [bot.reconnect]
ontimeout = ["30s", "repeat last"]
onkick = [] # wether to also autoreconnect if the bot was kicked
onerror = ["1m"] # wether to force trying to reconnect if the server is reachable but returned an error (ex: max clones/banned)
onshutdown = ["5s", "repeat last"] # when the bot was disconnected because of a server shutdown (in case of a server update or crash) |
This would be useful for me. The current setup doesn't allow me to use it. I've quite a interesting predicament myself. I live somewhere where Teamspeak connecting ports are banned by the ISP so I normally connect to TS server via VPN then shut it off . The current reconnecting system is to slow that the TS BOT can't reconnect fast enough. |
Feature is pushed to develop |
The current dynamic delay is great for endusers but hosters want to offer their customers custom reconnect intervals in the case of a bad connection or in the case the bot is required for security and has b_client_ignore_antiflood anyway.
etc...
The text was updated successfully, but these errors were encountered: