From b7f74ec147b8bcbd18359f6f17f889029206422c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 25 Apr 2016 19:44:40 +0200 Subject: [PATCH] asd --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index af61316..76ce7de 100644 --- a/main.py +++ b/main.py @@ -360,6 +360,9 @@ def power(bot, update): bot.sendMessage(update.message.chat['id'], "Per usare /power, scrivimi in chat privata a @mifiabot!") +def debuggameslist(bot, update): + bot.sendMessage(repr(inprogress)) + updater.dispatcher.addHandler(CommandHandler('ping', ping)) updater.dispatcher.addHandler(CommandHandler('newgame', newgame)) updater.dispatcher.addHandler(CommandHandler('join', join)) @@ -369,5 +372,6 @@ updater.dispatcher.addHandler(CommandHandler('vote', vote)) updater.dispatcher.addHandler(CommandHandler('endday', endday)) updater.dispatcher.addHandler(CommandHandler('power', power)) updater.dispatcher.addHandler(CommandHandler('status', status)) +updater.dispatcher.addHandler(CommandHandler('debuggameslist', debuggameslist)) updater.start_polling() updater.idle()