Skip to main content
Module

x/discordeno/mod.ts>deleteChannel

Discord API library for Deno
Extremely Popular
Go to Latest
function deleteChannel
import { deleteChannel } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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