fix: /help command escape symbols now will work...i gues...
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m19s

This commit is contained in:
Udo Chudo 2025-08-31 22:44:30 +05:00
parent 553942425e
commit 8d66c7c214

View File

@ -1,7 +1,6 @@
from aiogram import types
from aiogram.filters import Command
import html
from bot.utils.logging import logger
from aiogram import types
async def cmd_start(message: types.Message):
@ -17,7 +16,8 @@ async def cmd_start(message: types.Message):
async def cmd_help(message: types.Message):
"""Обработчик команды /help."""
help_text = (
help_text = html.escape(
(
"Доступные команды:\n\n"
"/start или /help - показать это сообщение\n"
"/create <telegram_id> - создать профиль клиента\n"
@ -26,4 +26,5 @@ async def cmd_help(message: types.Message):
"<code>/create udochudo</code>\n"
"<code>/info udochudo</code>"
)
)
await message.answer(help_text)