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

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



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

---

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

---

60 totranslate gtranslator.py
> if emoji in text:

UnboundLocalError:
local variable 'text' referenced before assignment

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 1244598919
Chat: ➤ Anime Sigma Discussion || Requests -1001146287911
Callback data: None
Message: /tr

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\gtranslator.py", line 60, in totranslate
if emoji in text:
UnboundLocalError: local variable 'text' referenced before assignment

Report Page