transliteration-decoder: add support for MarkdownV2

This commit is contained in:
dymik739 2023-09-04 21:36:13 +03:00
parent b21b16b817
commit 87424c8786
1 changed files with 1 additions and 1 deletions

View File

@ -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}")