chore: made line breaks

This commit is contained in:
Danil 2025-04-26 14:04:27 +03:00
parent 65236eeec8
commit 86085e2feb

View file

@ -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(