Closed hsiaoping-nthu closed 1 year ago
Hey @hsiaoping-nthu, good catch and thanks for reporting! Looks we can remove these two lines safely:
and
Could you maybe test it and open a PR if everything looks ok? EDIT: done in https://github.com/n3d1117/chatgpt-telegram-bot/commit/fdd76ee8458b73add40f78d305596b204cc25546
Hello, I trace the code and find some that seem a bit odd.
In line 603 of file
bot/telegram_bot.py
(line 16 in following code section), I thinksent_message
is alwaysNone
because it does only initialize but not update. Maybe it can skipi==0
case? Thanks for your response. :relaxed: