diff --git a/bot.py b/bot.py index 418e9b98..f9a8b18f 100644 --- a/bot.py +++ b/bot.py @@ -46,7 +46,6 @@ while True: if text.startswith('wow'): print("@" + username + ": WOW!") telegram.sendmessage("Wow. Impressionante.", sentin, source) - # Viene usato startswith perchè il comando potrebbe anche essere inviato in forma /ciao@RoyalBot. if 'text' in msg: # Salvatelo in una stringa text = msg['text']