------------------------…

------------------------…



------------------------------------------------------------------------------------------------------------------------
555 process_update dispatcher.py
> handler.handle_update(update, self, check, context)

---

110 handle_update handlers.py
> return self.callback(update, context)

---

172 get_id userinfo.py
> if reply.photo:

AttributeError:
'NoneType' object has no attribute 'photo'

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 1037479941
Chat: Winners Never Quit -1001501285674
Callback data: None
Message: /id @Missrose_bot

Full Traceback: Traceback (most recent call last):
File "e:\saitamarobot\env\lib\site-packages\telegram\ext\dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\helper_funcs\handlers.py", line 110, in handle_update
return self.callback(update, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\userinfo.py", line 172, in get_id
if reply.photo:
AttributeError: 'NoneType' object has no attribute 'photo'

Report Page