Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function deleteChannel
import { deleteChannel } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

Delete a channel in your server. Bot needs MANAGE_CHANNEL permissions in the server. Bot needs MANAGE_THREADS permissions in the server if deleting thread.

Parameters

bot: Bot
channelId: bigint
optional
reason: string