Skip to main content
Module

x/natico/discordeno_deps.ts>deleteChannel

A powerful and customizable framework for Discordeno
Latest
function deleteChannel
import { deleteChannel } from "https://deno.land/x/natico@4.0.0-pre.4/discordeno_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