From 2b48d9bffb4c6033f356ef2b85487f3ac0168a79 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 21 Sep 2016 16:52:42 +0200 Subject: [PATCH] Modificato il testo per gli errori critici --- bot.py | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/bot.py b/bot.py index f37694e7..f60fdbdf 100644 --- a/bot.py +++ b/bot.py @@ -507,24 +507,16 @@ while True: ciaostefanino() elif text.startswith('/balurage') or text.startswith("/madden"): balurage() - elif text.startswith('/potatogift'): - potatogift() elif text.startswith('/ciaoruozi'): ciaoruozi() elif text.startswith('/ehoh'): ehoh() - elif text.startswith('/playing'): - playing() - elif text.startswith('/saldi'): - saldi() - elif text.startswith('/sbam'): + elif text.startswith('/sbam') or text.startswith('/rekt'): sbam() elif text.startswith('/osu'): osucmd() elif text.startswith('/roll'): roll() - elif text.startswith('/automah'): - automah() elif text.startswith('/cv'): cv() elif text.startswith('/online'): @@ -542,7 +534,8 @@ while True: else: print("@" + username + " bloccato.") except Exception as e: - telegram.sendmessage(chr(9762) + " *ERRORE CRITICO:\n*" - "{0}\n".format(repr(e)), -2141322) + telegram.sendmessage(chr(9762) + " *Errore critico:\n*" + "{0}\n\n" + "Secondo me, รจ colpa dello stagista.".format(repr(e)), -2141322) print("ERRORE CRITICO:\n" "{0}".format(repr(e)))