Explorar el Código

Removed tempotary debugging prints

master
Mikhail Chernov hace 8 años
padre
commit
e6c78c5689
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0
    4
      magic-judge-telegram-bot.py

+ 0
- 4
magic-judge-telegram-bot.py Ver fichero

@@ -106,13 +106,10 @@ def question(bot, update, args):
update.message.reply_text('\n'.join(reply))

def inline_oracle(bot, update):
print("Inline oracle")
query = update.inline_query.query.casefold()
if not query:
return

print(query)

if len(query) < 3:
return

@@ -132,7 +129,6 @@ def inline_oracle(bot, update):
input_message_content=InputTextMessageContent(format_card(oracleData[uniqueName]))
)
)
print(results)
bot.answerInlineQuery(update.inline_query.id, results)

def dispatcher_setup(dispatcher):

Cargando…
Cancelar
Guardar