The command !set_superuser
won't work
#6
Labels
bug
Something isn't working
good first issue
Good for newcomers
upstream
This requires action with dependencies
bot/app/handlers/superuser.py
Line 9 in 5d892a2
In the first lines of the function above, you check the user_id is existed by calling
get_args
method of the message. The check always returns false.The method
message.get_args()
returns an argument only if it command that starts with/
.Trace:
message.get_args() -> message.get_full_command() -> message.is_command() ->
return self.text and self.text.startswith("/")
The text was updated successfully, but these errors were encountered: