Skip to main content
Module

x/oasis/deps.ts>deleteChannel

An object oriented Discordeno framework
Latest
function deleteChannel
import { deleteChannel } from "https://deno.land/x/oasis@2.1.0/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