-
Notifications
You must be signed in to change notification settings - Fork 8
Add check for missing permissions #13
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
Comments
Hello, i am new on github and contributing and i would like to help, any place i can start looking to solve this? |
Yeah! Basically we need a check in every Slash Command if the bot has the required permissions. |
like a automatic message on a channel? |
Yeah, when ever the command is executed, instead of doing what the command should do, display an error embed. |
Ok, i will have a look in the code and ask questions here if that is alright |
Surething! Appreciate it. |
Do we put the bot as admin? or the is some specific permission? |
And i am having some problems setting up the testing environment |
The bot has specific permissions, you can see what permissions we needs in his invite link: |
what's your problem? |
Any more information on this? Which specific inputs result in an error? |
Sadly no. I just saw in the logs a while ago that an error occurred in any command, probably because someone invited the bot without ticking all permissions. I think we have 2 options, add a permission check for every command or I think I can configure in Discord Developer Portal that the bot is required to have all permissions, not sure if that exists. |
Some inputs can result in an error when the bot does not have enough permissions, add a check for valid permissions or find another way
The text was updated successfully, but these errors were encountered: