fix: /help command formating examples now correct
All checks were successful
Build and Push Docker Image / build (push) Successful in 33s
All checks were successful
Build and Push Docker Image / build (push) Successful in 33s
This commit is contained in:
parent
8d66c7c214
commit
ebf1167fea
@ -16,15 +16,13 @@ async def cmd_start(message: types.Message):
|
|||||||
|
|
||||||
async def cmd_help(message: types.Message):
|
async def cmd_help(message: types.Message):
|
||||||
"""Обработчик команды /help."""
|
"""Обработчик команды /help."""
|
||||||
help_text = html.escape(
|
help_text = (
|
||||||
(
|
f"Доступные команды:\n\n"
|
||||||
"Доступные команды:\n\n"
|
f"/start или /help - показать это сообщение\n" +
|
||||||
"/start или /help - показать это сообщение\n"
|
html.escape(f"/create <telegram_id> - создать профиль клиента\n") +
|
||||||
"/create <telegram_id> - создать профиль клиента\n"
|
html.escape(f"/info <telegram_id> - получить информацию о клиенте\n\n") +
|
||||||
"/info <telegram_id> - получить информацию о клиенте\n\n"
|
f"Примеры:\n"
|
||||||
"Примеры:\n"
|
f"<code>/create udochudo</code>\n"
|
||||||
"<code>/create udochudo</code>\n"
|
f"<code>/info udochudo</code>"
|
||||||
"<code>/info udochudo</code>"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
await message.answer(help_text)
|
await message.answer(help_text)
|
||||||
Loading…
x
Reference in New Issue
Block a user