Open surfer190 opened 5 years ago
Ok, I will fix. A bad message is I can't connect telegram server by the script because of Chinese network use GFW. This fix will be delayed.
Also, @loveonelong I noticed the docs may be wrong
I had to use this package with:
bin/hubot -a telegram-better
I noticed it was not responding to the help command.
The issue above is actually a problem with hubot-telegram
but is probably also in this package.
Once again the bad entities issue that the telegram API responds with prevents the message from being sent.
Reproduce this error
Speak to your bot
/echo _hello_world_
Nothing will happen, if you check the logs you will see:
My opinion is that a message should always be sent, no matter what. So the bad entities error should be caught and then an attempt to clean the input of just send the message without markdown - as straight text.