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

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



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

---

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

---

128 get_id userinfo.py
> "<b>Chat IDs:</b>\n"

---

19 escape __init__.py
> s = s.replace("&", "&amp;") # Must be done first!

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

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 1419306864
Chat: None 1419306864
Callback data: None
Message: /id

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:\Mob\SaitamaRobot\modules\helper_funcs\handlers.py", line 110, in handle_update
return self.callback(update, context)
File "E:\Mob\SaitamaRobot\modules\userinfo.py", line 128, in get_id
"<b>Chat IDs:</b>\n"
File "C:\Program Files\Python38\lib\html\__init__.py", line 19, in escape
s = s.replace("&", "&amp;") # Must be done first!
AttributeError: 'NoneType' object has no attribute 'replace'

Report Page