From afe3f83d32835c0fe8b9e45a3b5722db4c8eb398 Mon Sep 17 00:00:00 2001 From: mihalin Date: Sat, 25 Jun 2022 00:26:10 +0300 Subject: [PATCH] fix html second text --- server/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/custom.py b/server/custom.py index 9083955..e91017d 100644 --- a/server/custom.py +++ b/server/custom.py @@ -188,7 +188,7 @@ async def handle_operator_message(message: types.Message, super_chat_id: int, bo await message.forward(super_chat_id) # И отправить пользователю специальный текст, если он указан if bot.second_text: - return SendMessage(chat_id=message.chat.id, text=bot.second_text) + return SendMessage(chat_id=message.chat.id, text=bot.second_text, parse_mode="HTML") async def message_handler(message: types.Message, *args, **kwargs):