Editing Permissions
Hi!
Is there a way I can edit the channel permissions?
I tried permissionOverwrites.edit(), but it seemed not to work.
And before people say that it might be TestingChannel not being defined, IT IS!!!
Same for Testing which is a userid
This code is inside the
guildMemberUpdate
event.2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.v 14.3.0
I also tried with
.create()
and .set()
but both did not work.
Oh wait. I see. It seems that the code is not being executed.
Somehow... I can't get it working.
I have all the intents enabled on the Discord Developer Docs, and in the code...
But still nothing happens when trying to use the guildMemberUpdate
event.
Nevermind