Browse Source

Fixed /o for choice of russian names

master
Mikhail Chernov 8 years ago
parent
commit
99e140abf7
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      magic-judge-telegram-bot.py

+ 3
- 1
magic-judge-telegram-bot.py View File

@@ -144,7 +144,9 @@ def callback_name(bot, update):
message_id = update.callback_query.message.message_id
chat_id = update.callback_query.message.chat.id
name = update.callback_query.data
if not name in oracleData:

if not name in names:
bot.answerCallbackQuery(update.callback_query.id)
return

bot.editMessageText(

Loading…
Cancel
Save