chatgpt_telegram_bot icon indicating copy to clipboard operation
chatgpt_telegram_bot copied to clipboard

Use MARKDOWN_V2 parser instead of HTML parser.

Open zanderzhng opened this issue 1 year ago • 1 comments

Use markdown replies instead of htmls, especially for the replies from chatgpt api.

I replaced all the ParseMode.HTML with ParseMode.MARKDOWN_V2 and get "Some error in error handler", but I'm not sure how to debug it yet.

It would be great if you can help.

zanderzhng avatar Mar 06 '23 02:03 zanderzhng

Hi! Just tested it and it really works better with markdown. I'll fix it

karfly avatar Mar 06 '23 07:03 karfly

Fixed here: 15e4ec513a3fc336e75b2e84a603982ffac47356

karfly avatar Mar 10 '23 13:03 karfly