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

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



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

---

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

---

32 paste paste.py
> message.reply_text(telegraph.paste(data), disable_web_page_preview=True)

---

23 paste telegraph.py
> title = text[:25]

TypeError:
'NoneType' object is not subscriptable

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 5075295493
Chat: Self Help Bots🔥 -1001734452521
Callback data: None
Message: /paste

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 122, in handle_update
return self.callback(update, context)
File "E:\Mob\SaitamaRobot\modules\paste.py", line 32, in paste
message.reply_text(telegraph.paste(data), disable_web_page_preview=True)
File "E:\Mob\SaitamaRobot\modules\helper_funcs\telegraph.py", line 23, in paste
title = text[:25]
TypeError: 'NoneType' object is not subscriptable

Report Page