Skip to content
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

Add "always respect user permissions" field #91

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

Chew
Copy link
Owner

@Chew Chew commented Aug 26, 2024

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.

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.
  • My PR is for the commands module 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.

@Chew Chew added the enhancement New feature or request label Aug 26, 2024
@Chew
Copy link
Owner Author

Chew commented Jan 8, 2025

@RoryHelper approve

@Chew Chew enabled auto-merge (squash) January 8, 2025 21:59
@Chew Chew merged commit 9cb7839 into master Jan 8, 2025
4 checks passed
@Chew Chew deleted the feat/alwaysRespectUserPerms branch January 8, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants