From e1981af20429c105053d597640759c8c2f873c29 Mon Sep 17 00:00:00 2001 From: RainEggplant Date: Wed, 15 Mar 2023 18:44:08 +0800 Subject: [PATCH] fix: assigning --- src/handlers/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/chat.ts b/src/handlers/chat.ts index b68bec4..8c7c672 100644 --- a/src/handlers/chat.ts +++ b/src/handlers/chat.ts @@ -118,7 +118,7 @@ class ChatHandler { } try { text = telegramifyMarkdown(text); - text.replace('', ''); // temporary dirty fix for #34 + text = text.replace('', ''); // temporary dirty fix for #34 const res = await this._bot.editMessageText(text, { chat_id: msg.chat.id, message_id: msg.message_id,