------------------------…
------------------------------------------------------------------------------------------------------------------------
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: 1304756814
Chat: What do you think© -1001342960999
Callback data: None
Message: /airing world trigger season 3 episode 14
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\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