mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
fix for prev
This commit is contained in:
parent
a5a6d5beac
commit
7c3069ccb8
@ -42,6 +42,7 @@ async def inline_handler(inline_query: InlineQuery, bot: Bot):
|
||||
|
||||
all_phrases = await get_phrases(bot)
|
||||
phrases = [phrase for phrase in all_phrases if inline_query.query.lower() in phrase.lower()]
|
||||
items = []
|
||||
for phrase in phrases:
|
||||
|
||||
input_content = InputTextMessageContent(phrase)
|
||||
|
Loading…
Reference in New Issue
Block a user