Browse Source

Fixed: call to undefined 'question'

master
Alexey Chernyshov 7 years ago
parent
commit
138748803d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/magic-judge-telegram-bot.py

+ 2
- 1
src/magic-judge-telegram-bot.py View File

@@ -137,7 +137,8 @@ def text(bot, update):
if len(text) < 30:
oracle_command(bot, update, text.split())
else:
question(bot, update, text)
question_command(bot, update, text)


def comp_rules_command(bot, update, args):
update.message.reply_text(documents.cr_search(args), parse_mode='HTML', quote = False)

Loading…
Cancel
Save