-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second argument for the command "permission" result in an error + logs edits update #12
Comments
That's not the complete error, there should be a bunch more of lines above. |
yes one moment please |
I found the cause of the problem. When the command is used with an alias instead of the actual command cause such problem. It seems to apply only to the 'remove' parameter. Using the same exact format but with the add parameter even with aliases works just fine. At then end you will not be able to remove a permission from an alias, so you are forced to remove it manually from mongodb. Steps to reproduce. +permission command_alias add user/role/server_id +permission command_alias remove user/role/server_id |
I will have a look tomorrow. |
Error fixed on https://github.com/ThePhoDit/ModMail/releases/tag/3.0.5 |
Same as my other report, i was testing the bot when i suddenly found out that using the command '+permission commandName remove/rmv userID result in an error thta you can found below.
The text was updated successfully, but these errors were encountered: