#RequireUserPermission not working?

1 messages · Page 1 of 1 (latest)

tardy mist
#

I have a command -eco admin give <user> <amount> that will let me give a user in my guild a certain amount of bot currency. I have marked the entire -eco admin as [RequireUserPermission(GuildPermission.Administrator)] but i just found out it doesn't work. Non-administrator users can execute the admin commands without any issues. What could be the cause of this?

#

It has the same behavior when i put the RequireUserPermission on the individual commands.

tardy mist
#

Anyone have an idea?