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

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



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

---

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

---

59 totranslate gtranslator.py
> if emoji in text:

UnboundLocalError:
local variable 'text' referenced before assignment

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 367222759
Chat: Heroes Association • Dev -1001189037984
Callback data: None
Message: /tr en

Full Traceback: Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.8/site-packages/telegram/ext/dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "/app/SaitamaRobot/modules/helper_funcs/handlers.py", line 122, in handle_update
return self.callback(update, context)
File "/app/SaitamaRobot/modules/gtranslator.py", line 59, in totranslate
if emoji in text:
UnboundLocalError: local variable 'text' referenced before assignment

Report Page