From bd239f6b2fcf112c9991e9b888655ba1da1b0ed9 Mon Sep 17 00:00:00 2001 From: mihalin Date: Fri, 11 Feb 2022 03:59:58 +0300 Subject: [PATCH] print debug --- server/inlines.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/inlines.py b/server/inlines.py index 17c32ec..452c179 100644 --- a/server/inlines.py +++ b/server/inlines.py @@ -19,8 +19,9 @@ async def inline_handler(inline_query: InlineQuery, bot: Bot): # return await inline_query.answer([], cache_time=1) # forbidden all_phrases = await get_phrases(bot.id) + print(f"All phrases {all_phrases}") phrases = [phrase for phrase in all_phrases if inline_query.query.lower() in phrase.lower()] - + print(f"phrases {phrases}") items = [] for phrase in phrases: