No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/Users/hd/work/py3/lib/python3.9/site-packages/telegram/ext/dispatcher.py", line 432, in process_update
handler.handle_update(update, self, check, context)
File "/Users/hd/work/py3/lib/python3.9/site-packages/telegram/ext/handler.py", line 156, in handle_update
return self.callback(update, context)
File "/Users/hd/work/CodePracticeBot/cmdproc/game24.py", line 171, in start
context.bot.send_photo(chatid, photo=open('imgs/re.png', 'rb'), caption= "⚠️ 温馨提示:请把 Telegram 自动表情给关掉!")
FileNotFoundError: [Errno 2] No such file or directory: '/Users/Snipro/work/24gamebot/Images/re.png'
No error handlers are registered, logging exception. Traceback (most recent call last): File "/Users/hd/work/py3/lib/python3.9/site-packages/telegram/ext/dispatcher.py", line 432, in process_update handler.handle_update(update, self, check, context) File "/Users/hd/work/py3/lib/python3.9/site-packages/telegram/ext/handler.py", line 156, in handle_update return self.callback(update, context) File "/Users/hd/work/CodePracticeBot/cmdproc/game24.py", line 171, in start context.bot.send_photo(chatid, photo=open('imgs/re.png', 'rb'), caption= "⚠️ 温馨提示:请把 Telegram 自动表情给关掉!") FileNotFoundError: [Errno 2] No such file or directory: '/Users/Snipro/work/24gamebot/Images/re.png'