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:
parent
3ef435dd00
commit
915c9522cc
1 changed files with 5 additions and 2 deletions
7
main.py
7
main.py
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue