From 861e87a4bc46df9c75953e1b4a05f2305871f66f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 21 Apr 2016 22:22:08 +0200 Subject: [PATCH] mh --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 133b093..212d2f1 100644 --- a/main.py +++ b/main.py @@ -109,7 +109,7 @@ inprogress = list() # Comandi a cui risponde il bot def ping(bot, update): - bot.sendMessage(update.message.chat.id, "Pong!") + bot.sendMessage(update.message.chat['id'], "Pong!") def newgame(bot, update):