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

Deletes a permission override 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 delete the permission override of.
overwriteId: BigString
  • The ID of the permission override to delete.
optional
reason: string

Returns

Promise<void>