From 4e5d354764569a1193e740082027e0e8a655bed4 Mon Sep 17 00:00:00 2001 From: Sense T Date: Fri, 12 May 2023 23:20:04 +0000 Subject: [PATCH] bugfix --- src/telegram_bot.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/telegram_bot.rs b/src/telegram_bot.rs index f25a419..750f8fe 100644 --- a/src/telegram_bot.rs +++ b/src/telegram_bot.rs @@ -296,7 +296,8 @@ impl BotServer { match self .bot - .send_message(user.id, &BOT_TEXT_NOTICE.format(&vars).unwrap()) + .send_message(user.id, escape(&BOT_TEXT_NOTICE.format(&vars).unwrap())) + .parse_mode(ParseMode::MarkdownV2) .send() .await {