fix allowing telegra.ph

This commit is contained in:
Rykov7
2023-02-01 21:17:21 +03:00
parent 504ada28b6
commit 9110be7f0f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ def default_query(inline_query):
if phrase.casefold().startswith(q) or ' ' + q in phrase.casefold():
zen.append(types.InlineQueryResultArticle(
f"{id_p}", f'The Zen of Python #{id_p + 1}', types.InputTextMessageContent(
f"<i>{phrase}</i>"), description=phrase))
f"{phrase}"), description=phrase))
bot.answer_inline_query(inline_query.id, zen, cache_time=1200)