Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>createChannel

An object oriented Discordeno framework
Latest
function createChannel
import { createChannel } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

Create a channel in your server. Bot needs MANAGE_CHANNEL permissions in the server.

Parameters

bot: Bot
guildId: bigint
optional
options: CreateGuildChannel
optional
reason: string