Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function editChannelPermissionOverrides
import { editChannelPermissionOverrides } from "https://deno.land/x/discordeno@17.0.1/helpers/mod.ts";

Edits the permission overrides for a user or role in a channel.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel to edit the permission overrides of.
options: EditChannelPermissionOverridesOptions
  • The permission override.

Returns

Promise<void>