AlexzanderFlores / WOKCommands

130 stars 60 forks source link

Check permissions before evaluating arguments #77

Open Dorimobae opened 3 years ago

Dorimobae commented 3 years ago

check if the user has permissions before evaluating the user's arguments as it gives the invalid argument error when the user does not even meet the required permissions to use the command

AlexzanderFlores commented 3 years ago

Hey, what version of WOKCommands are you using? Also are you using legacy or slash commands? As of the latest version the arguments are checked after checking required roles and required permissions.

Dorimobae commented 3 years ago

yep I just updated it, it works fine now thanks, I also using legacy not slash