Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function createChannel
import { createChannel } from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/channels/createChannel.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