From 855fcaf8ac5a18009c2f179c4790c888886e589f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 21 Dec 2015 16:57:46 +0100 Subject: [PATCH] =?UTF-8?q?Rinominato=20/osunow=20in=20/osu=20tanto=20?= =?UTF-8?q?=C3=A8=20l'unico=20che=20c'=C3=A8.=20E=20tolta=20una=20roba=20d?= =?UTF-8?q?i=20debug.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index b4f02aae..532f10d8 100644 --- a/bot.py +++ b/bot.py @@ -127,8 +127,8 @@ while True: telegram.senddocument(wololo[int(cmd[1]) - 1], sby) else: telegram.senddocument('BQADAgADZwIAAh8GgAF3etjqkzFDxAI', sby) - elif cmd[0].startswith('/osunow'): - print(unm + ": /osunow") + elif cmd[0].startswith('/osu'): + print(unm + ": /osu") if len(cmd) >= 2: cmd = msg['text'].split(' ', 2) if len(cmd) >= 3: @@ -196,8 +196,6 @@ while True: "*Awesome*: " + r['countkatu'] + "\n" + "*Good*: " + r['countgeki'] + "\n" + "*Miss*: " + r['countmiss'], sby) - else: - print("nope") elif cmd[0].startswith('/roll'): if len(cmd) >= 2: m = int(cmd[1])