Apply Overwrites in a voicechannel

How do i apply overrides after a channel was created?
No description
Fabi
Fabi56d 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
Fabi56d ago
and if i do it like this.. it dont know "deny"?
No description
Fabi
Fabi56d 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
More Posts
User Install (The new update)Hello, I am attempting to make my JavaScript d.js Discord Bot work with the new User Install featureTranslated Subcommand does not register because a error``` 2024-03-22 19:16:49 - INFO - ApplicationCommandRegistries: Initializing... 2024-03-22 19:16:49 Interactionits just a dumb question , but i didnt manage to find it on the doc , i might have missed the part ,Just curious, can I declare a map of string to Class on container as a type?wondering if this is okay lolSlash Command PermissionsHow to make a slash command accessible by any one ?!Create a category and a channel in the categoryI try to create a Category and a channel in it, somehow it dont accept the category as a parent ```Slash Command : How to set the type channel option to voice only``` public override registerApplicationCommands(registry: Command.Registry) { rIs there a way to make precondition in interaction be ephemeral?cause with the OwnerOnly the CLI gives it throws the error in a regular reply.Default PermissionsHello! As i do slash commands only, is it possible to set the Default Permission, so that the guild Issue with path aliases not working when using imports (TypeScript)Not sure what exactly is going on, normally I'm only using TS paths like `"@lib/*": ["src/lib/*"]` b"ChatInputCommandError" listener not firing for subcommands`ChatInputCommandError.ts`: ```ts import { ChatInputCommandErrorPayload, Events, Listener } from '@show do you make these using sapphire?^commandsIs there any way to ignore a command inside the commands folder ?! i have an abstract class that exBot not starting in VPSMy bot works great on my PC but on my VPS it is not loading.Decorators Message Context?The decorators don't really say, can I use them on top of an interaction? If not, what's the recommeScope of Command Classes?Hi just curious, what's the scope of command classes? Is a class created each time you run the comma