JDA-Chewtils
JDA-Chewtils copied to clipboard
Add "always respect user permissions" field
Pull Request
Pull Request Checklist
Please follow the following steps before opening this PR.
PRs that do not complete the checklist will be subject to denial for
missing information.
- [x] I have checked the pull request page for upcoming or merged features/bug fixes.
- [x] I have read JDA's contributing guidelines.
Pull Request Information
Check and fill in the blanks for all that apply:
- [ ] My PR fixes a bug, error, or other issue with the library's codebase.
- [x] My PR is for the
commandsmodule of the JDA-Utilities library. - [ ] My PR creates a new module for the JDA-Utilities library:
______.
Description
This adds a field for interactions that allows the userPermissions checks to be skipped. They aren't necessary on servers because you can override them in the integration settings, and if left unset, the userPermissions set will take precedent anyway. The most breaking change is it's false by default, but no one will notice.