-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Which package is this bug report for?
discord.js
Issue description
There seems to be some strange behavior in GuildChannel#rolePermissions. This function calculates permissions from the following:
- Role's guild-level permissions
- @everyone role's deny overwrites
- @everyone role's allow overwrites
- Role's deny overwrites
- Role's allow overwrites
Missing in this calculation are the guild-level permissions for the @everyone role itself, something which seems like it should be included here, since @everyone permission overwrites are accounted for, and @everyone's base permissions of course apply to all roles.
Post in support server: https://canary.discord.com/channels/222078108977594368/1408384303011729478
Code sample
Versions
- discord.js 14.22.0
Issue priority
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildModeration, GuildExpressions, GuildMessages
I have tested this issue on a development release
No response