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

update.message.reply_text('\n'.join(reply)) update.message.reply_text('\n'.join(reply))


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


print(query)

if len(query) < 3: if len(query) < 3:
return return


input_message_content=InputTextMessageContent(format_card(oracleData[uniqueName])) input_message_content=InputTextMessageContent(format_card(oracleData[uniqueName]))
) )
) )
print(results)
bot.answerInlineQuery(update.inline_query.id, results) bot.answerInlineQuery(update.inline_query.id, results)


def dispatcher_setup(dispatcher): def dispatcher_setup(dispatcher):

Loading…
Cancel
Save