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

Use MemberData roles when checking permissions & interactions #312

Merged
merged 2 commits into from
May 23, 2024

Conversation

Octol1ttle
Copy link
Member

@Octol1ttle Octol1ttle commented May 23, 2024

Closes #311

This change fixes unexpected behavior when a member's Discord roles get desynchronized with their MemberData roles (e.g. when a member gets role-muted). In addition this results in less API requests being made when there are cache misses (commands should execute faster)

@Octol1ttle Octol1ttle requested a review from a team as a code owner May 23, 2024 13:11
@Octol1ttle Octol1ttle added type: fix PRs that fix bugs, typos, style issues. type: breaking change PRs or issues that introduce breaking changes that require users to adapt labels May 23, 2024
@pull-request-size pull-request-size bot added the size/S PRs that change 20-100 lines. label May 23, 2024
@mctaylors mctaylors self-assigned this May 23, 2024
mctaylors
mctaylors previously approved these changes May 23, 2024
@Octol1ttle Octol1ttle merged commit ea9302e into master May 23, 2024
1 check passed
@Octol1ttle Octol1ttle deleted the use-memberdata-roles branch May 23, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S PRs that change 20-100 lines. type: breaking change PRs or issues that introduce breaking changes that require users to adapt type: fix PRs that fix bugs, typos, style issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MemberData in AccessControlService is not used
2 participants