#Give every voice channel permission
28 messages · Page 1 of 1 (latest)
• 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.
(static) PermissionsBitField.All
Bitfield representing every permission combined
But this would also include administrator etc. do you really want that?
Administrator does not do anything on voice channels
I tried just giving administrator and it didnt work
Also I just did this and it seems to work
So you don’t actually want to give them all permissions after all😉
I mean
I was going too
But then I realised its probably not a good idea to give them the ability to add webhooks
You also overwrite any existing overrides by that, is that intended?
Then why not include the permissionOverwrites in the create call too?
I did not know you could do that-
You can
Like this?
Since you seem to use typescript you should know by now that it‘s correct 😉
I should- I just doubt myself lmao
But why seperate the two allow/deny objects?
It didnt work with one
It won’t work with two either. The second would overwrite the first one
Well
You need to exclude those you want to deny from the allow array