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):
|
||||
"""Обработчик команды /help."""
|
||||
help_text = html.escape(
|
||||
(
|
||||
"Доступные команды:\n\n"
|
||||
"/start или /help - показать это сообщение\n"
|
||||
"/create <telegram_id> - создать профиль клиента\n"
|
||||
"/info <telegram_id> - получить информацию о клиенте\n\n"
|
||||
"Примеры:\n"
|
||||
"<code>/create udochudo</code>\n"
|
||||
"<code>/info udochudo</code>"
|
||||
help_text = (
|
||||
f"Доступные команды:\n\n"
|
||||
f"/start или /help - показать это сообщение\n" +
|
||||
html.escape(f"/create <telegram_id> - создать профиль клиента\n") +
|
||||
html.escape(f"/info <telegram_id> - получить информацию о клиенте\n\n") +
|
||||
f"Примеры:\n"
|
||||
f"<code>/create udochudo</code>\n"
|
||||
f"<code>/info udochudo</code>"
|
||||
)
|
||||
)
|
||||
await message.answer(help_text)
|
||||
Loading…
x
Reference in New Issue
Block a user