Browse Source

Removed tempotary debugging prints

master
Mikhail Chernov 8 years ago
parent
commit
e6c78c5689
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      magic-judge-telegram-bot.py

+ 0
- 4
magic-judge-telegram-bot.py View File

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

Loading…
Cancel
Save