Skip to content

Conversation

@almostSouji
Copy link
Member

Please describe the changes this PR makes and why it should be merged:

When calculating permissions after overwrites, the base permission of the at-everyone role need to be accounted for. Role#permissions is not sufficient, as it only describes base permissions of the role itself.

fixes #11052

Status and versioning classification:

  • I know how to update typings and have done so, or typings don't need updating

When calculating permissions after overwrites, the base permission of the at-everyone role need to be accounted for.
Role#permissions is not sufficient, as it only describes base permissions of the role itself.

fixes #11052
@vercel
Copy link

vercel bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
discord-js Ignored Ignored Aug 22, 2025 10:26am
discord-js-guide Ignored Ignored Aug 22, 2025 10:26am

@github-project-automation github-project-automation bot moved this from Todo to Review Approved in discord.js Aug 22, 2025
@kodiakhq kodiakhq bot merged commit 55ab46d into main Aug 22, 2025
8 checks passed
@kodiakhq kodiakhq bot deleted the fix/consider-everyone-base branch August 22, 2025 11:03
@github-project-automation github-project-automation bot moved this from Review Approved to Done in discord.js Aug 22, 2025
Jiralite pushed a commit that referenced this pull request Aug 22, 2025
When calculating permissions after overwrites, the base permission of the at-everyone role need to be accounted for.
Role#permissions is not sufficient, as it only describes base permissions of the role itself.

fixes #11052
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

GuildChannel.rolePermissions ignores @everyone base permissions

5 participants