aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/control.py b/control.py
index 0215655..dd08d49 100755
--- a/control.py
+++ b/control.py
@@ -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"""