Ver código fonte

Fixed /o for choice of russian names

master
Mikhail Chernov 8 anos atrás
pai
commit
99e140abf7
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3
    1
      magic-judge-telegram-bot.py

+ 3
- 1
magic-judge-telegram-bot.py Ver arquivo

@@ -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(

Carregando…
Cancelar
Salvar