bostrot / telegram-support-bot

A Telegram ticketing/supporting system.
https://botspace.bostrot.com
GNU General Public License v3.0
450 stars 152 forks source link

Bug nickname consists of the characters "_i" #122

Open IN80 opened 2 years ago

IN80 commented 2 years ago

Hello. Found a new problem. If the user's nickname consists of the characters "_i", then the bot does not respond to messages or simply breaks down.

=== UNHANDLED REJECTION === GrammyError: Call to 'sendMessage' failed! (400: Bad Request: can't parse entities: Can't find end of Italic entity at byte offset 69)

s1gne commented 1 year ago
bostrot commented 1 year ago
  • add : when the user writes the number "3" in ticket, the system gives me:: 0|tgbot | === UNHANDLED REJECTION === 0|tgbot | GrammyError: Call to 'sendMessage' failed! (400: Bad Request: can't parse entities: Can't find end of Italic entity at byte offset 134)\n"
  • add : when a user writes to me in Russian, the system replies to the user in the "undefined" ticket . Example https://mega.nz/file/tPZ1nCTB#B5LusAtuYFtFGf7RpJrp3wf77FnDK8niy2dm2NJAvzE

Can you open a separate issue for that?