From 87424c8786d7cf931468a0a1943637f3cd1cb9c0 Mon Sep 17 00:00:00 2001 From: dymik739 Date: Mon, 4 Sep 2023 21:36:13 +0300 Subject: [PATCH] transliteration-decoder: add support for MarkdownV2 --- modules/transliteration-decoder/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/transliteration-decoder/index.py b/modules/transliteration-decoder/index.py index d275f67..dcbf772 100644 --- a/modules/transliteration-decoder/index.py +++ b/modules/transliteration-decoder/index.py @@ -25,7 +25,7 @@ if (command[0] in self.aliases) and (1 <= command_length <= 3): decoded_text = decoded_text.replace(i[0].capitalize(), i[1].capitalize()) decoded_text = decoded_text.replace(i[0].upper(), i[1].upper()) - self.RESPONSE = f"Результат: {decoded_text}" + self.RESPONSE = f"__Результат__\n{decoded_text}" except Exception as e: print(f"[translit-decoder] Got exception: {e}")