Explorar el Código

Fixed: call to undefined 'question'

master
Alexey Chernyshov hace 7 años
padre
commit
138748803d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      src/magic-judge-telegram-bot.py

+ 2
- 1
src/magic-judge-telegram-bot.py Ver fichero

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

Cargando…
Cancelar
Guardar