Apply Overwrites in a voicechannel

How do i apply overrides after a channel was created?
No description
3 Replies
Fabi
FabiOP8mo ago
let channelOverwrites = newChannel.permissionOverwrites.cache;
for (const blockedUser of sessionBlockedUsers!) {
const userId = blockedUser;

}
let channelOverwrites = newChannel.permissionOverwrites.cache;
for (const blockedUser of sessionBlockedUsers!) {
const userId = blockedUser;

}
related part i dont know how to apply multiple overrides at once and that without removing other overrides, simply add/update. In this case add
Fabi
FabiOP8mo ago
and if i do it like this.. it dont know "deny"?
No description
Fabi
FabiOP8mo ago
why does allow work and deny not? ok nevermind, it just dont work how i do that
Want results from more Discord servers?
Add your server