diff options
-rwxr-xr-x | control.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -125,14 +125,14 @@ def botCrashed(signum, frame): log("=!= Bot crashed / lost connection. Retrying in %i seconds..."\ % config.RECONNECT_DELAY, suppress_console=False) - toTG("=!= Bot crashed / lost connection. Retrying in %i seconds..."\ - % config.RECONNECT_DELAY) + #toTG("=!= Bot crashed / lost connection. Retrying in %i seconds..."\ + # % config.RECONNECT_DELAY) time.sleep(config.RECONNECT_DELAY) log("Reconnecting...", suppress_console=False) - toTG("Reconnecting...") + #toTG("Reconnecting...") startHCBot() log("Reconnected!", suppress_console=False) - toTG("Reconnected!") + #toTG("Reconnected!") def kill(): """Debug command to test reconnect functionality""" |