1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2025-02-16 13:24:06 +00:00

Sono un pirla!

asufafivhuidfbviaufhviu
This commit is contained in:
Steffo 2016-05-26 11:50:16 +00:00
parent 3ef435dd00
commit 915c9522cc

View file

@ -500,6 +500,10 @@ def config(bot, update):
game.message(bot, s.roles_assigned_successfully)
else:
game.message(bot, s.config_list[game.configstep])
else:
game.message(bot, s.error_not_admin)
else:
game.message(bot, s.error_no_games_found)
def vote(bot, update):
@ -592,8 +596,6 @@ def kill(bot, update):
bot.sendMessage(update.message.chat['id'], s.error_no_games_found)
def config(bot, update)
updater.dispatcher.addHandler(CommandHandler('ping', ping))
updater.dispatcher.addHandler(CommandHandler('newgame', newgame))
updater.dispatcher.addHandler(CommandHandler('join', join))
@ -606,5 +608,6 @@ updater.dispatcher.addHandler(CommandHandler('role', role))
updater.dispatcher.addHandler(CommandHandler('debug', debug))
updater.dispatcher.addHandler(CommandHandler('debuggameslist', debuggameslist))
updater.dispatcher.addHandler(CommandHandler('kill', kill))
updater.dispatcher.addHandler(CommandHandler('config', config))
updater.start_polling()
updater.idle()