Im trying to set permission for 10-12 users
Im struggling with the way discord.js
<Channel>.edit()
works, cuz i can't pass all users as array for example
I trying to do so with <Channel>.permissionOverwrites.set
, my idea is to clone old permissions and add new
But i can't found a way to pass them right
what i alredy tryed and it didn't work, my question is how can i manage to make it work? :)
13 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!
- ✅
Marked as resolved by OP
wait, i edit for match with ur code
thats working ? @xmnlz
lemme try
kk!
it's not working
can u gave me the error ?

send me the part of ur code plz!
ts importation error
im on ts to

the eventVoiceChannel import 🙂
like const event... = [...]
yes, tysm
that works out
ohh cool!