Client not able to edit a channel even with all permissions
I'm trying to edit a channel's name, but keep getting told I'm "missing access" (don't have permission to edit the channel).
Serialized permissions in the channel:
16 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Error: (
DiscordAPIError[50001]: Missing Access
)
Intents: GuildMessages
, Guilds
, and MessageContent
Code: you sure the id is of the right channel?
yes. the permissions are also for that channel
How are we logging the permissions?
<Channel>.permissionsFor(bot)
i've tried fetching the channel as well
could u log the channel type?
1. channel type doesn't matter
2. i can tell you from the ID and how i got it that the channel is a voice channel
btw, guild.memberCount gives a numer that is not accurate
ok
also,
<#996227371692724264> is the correct channel?
Channel type does matter because Connect is required to change the name of voice channels
And since your channel name has a space in it, I'm guessing that it is and that's the issue
For voice and stage channels, denying the CONNECT permission also implicitly denies other permissions such as MANAGE_CHANNEL.https://discord.com/developers/docs/topics/permissions#implicit-permissions
this is stupid, discord trying to cut corners lol
yeah what
okay well tysm