channel permissions

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