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):