Skip to content

Conversation

@emiedonmokumo
Copy link

@emiedonmokumo emiedonmokumo commented Oct 27, 2025

Please describe the changes this PR makes and why it should be merged:
Previously, permissionsLocked returned true for any empty overwrite, causing
channels with empty user or role overwrites to appear locked. This change limits
the "locked" behavior to only the @everyone overwrite (id === guild.id), which
matches Discord's expected permission inheritance behavior.

Link to Issue: #11190

Status and versioning classification:

@vercel
Copy link

vercel bot commented Oct 27, 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 Preview Oct 27, 2025 3:07pm
discord-js-guide Ignored Ignored Preview Oct 27, 2025 3:07pm

@vakiliner
Copy link
Contributor

Duplicate of #11221

@emiedonmokumo
Copy link
Author

@vakiliner how please?

@vakiliner
Copy link
Contributor

@emiedonmokumo, I don't understand English very well
Could you explain what you meant?

@vakiliner
Copy link
Contributor

Previously, permissionsLocked returned true for any empty overwrite, causing channels with empty user or role overwrites to appear locked. This change limits the "locked" behavior to only the @everyone overwrite (id === guild.id), which matches Discord's expected permission inheritance behavior.

Why do I have a feeling this was written by AI?

@emiedonmokumo
Copy link
Author

Hi @almostSouji, was hoping to get a response from you...

@Qjuh
Copy link
Member

Qjuh commented Oct 28, 2025

Duplicate of #11221

@Qjuh Qjuh marked this as a duplicate of #11221 Oct 28, 2025
@Qjuh Qjuh closed this Oct 28, 2025
@github-project-automation github-project-automation bot moved this from Todo to Denied in discord.js Oct 28, 2025
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.

4 participants