channel permissions

how to set a permissions overwrite for every member ina specific channel
9 Replies
d.js toolkit
d.js toolkit14mo ago
- 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! - Marked as resolved by OP
SpecialSauce
SpecialSauce14mo ago
Pass the guild id as the overwrite id when specifying the overwrites.
guy
guyOP14mo ago
👍
d.js docs
d.js docs14mo ago
guide Popular Topics: Permissions - Channel overwrites > Adding overwrites read more
guy
guyOP14mo ago
and does guild.channels.create() not work anymore?
SpecialSauce
SpecialSauce14mo ago
It does
guy
guyOP14mo ago
Nvm i got it
SpecialSauce
SpecialSauce14mo ago
You can pass the overwrites into the create options
guy
guyOP14mo ago
thank you Forgot you have to pass the name as an option

Did you find this page helpful?