mirror of
https://github.com/Redume/Shirino.git
synced 2025-05-19 10:15:26 +01:00
chore: made line breaks
This commit is contained in:
parent
65236eeec8
commit
86085e2feb
1 changed files with 6 additions and 1 deletions
|
@ -16,7 +16,12 @@ async def reply(result_id: str, args: list, query: types.InlineQuery) -> None:
|
|||
|
||||
article = types.InlineQueryResultArticle(
|
||||
id=f"{result_id}_{idx}",
|
||||
title=re.sub(r'\bChart\b|\[([^\]]+)\]\([^)]+\)', '', title, flags=re.IGNORECASE),
|
||||
title=re.sub(
|
||||
r'\bChart\b|\[([^\]]+)\]\([^)]+\)',
|
||||
'',
|
||||
title,
|
||||
flags=re.IGNORECASE
|
||||
),
|
||||
thumbnail_url=img,
|
||||
description=description,
|
||||
input_message_content=types.InputTextMessageContent(
|
||||
|
|
Loading…
Add table
Reference in a new issue