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

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



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

---

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

---

186 airing anime.py
> msg = f"*Name*: *{response['title']['romaji']}*(`{response['title']['native']}`)\n*ID*: `{response['id']}`"

TypeError:
'NoneType' object is not subscriptable

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 181620647
Chat: None 181620647
Callback data: None
Message: /airing AoT S4 P2

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\anime.py", line 186, in airing
msg = f"*Name*: *{response['title']['romaji']}*(`{response['title']['native']}`)\n*ID*: `{response['id']}`"
TypeError: 'NoneType' object is not subscriptable

Report Page