mirror of
https://github.com/Redume/Shirino.git
synced 2025-03-13 18:24:37 +03:00
chore: Changed the word from Russian to English.
This commit is contained in:
parent
661e11c8d7
commit
7a246c8b92
2 changed files with 2 additions and 2 deletions
2
main.py
2
main.py
|
@ -92,7 +92,7 @@ async def currency(query: types.InlineQuery) -> None:
|
|||
results = [(message, None, None)]
|
||||
|
||||
if chart:
|
||||
results.insert(0, (f'{message}\n[График]({chart})', None, chart))
|
||||
results.insert(0, (f'{message}\n[Chart]({chart})', None, chart))
|
||||
|
||||
await reply(result_id, results, query)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ async def reply(result_id: str, args: list, query: types.InlineQuery) -> None:
|
|||
|
||||
article = types.InlineQueryResultArticle(
|
||||
id=f"{result_id}_{idx}",
|
||||
title=re.sub(r'\bГрафик\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
Add a link
Reference in a new issue