Testing MARKDOVN_V2 parsing.

This commit is contained in:
2023-09-04 20:58:17 +03:00
parent 72c5b0b4a9
commit 91748be435
3 changed files with 10 additions and 8 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}")