Skip to main content
Extremely Popular
Go to Latest
interface CreateGuildChannel
Re-export
import { type CreateGuildChannel } from "https://deno.land/x/discordeno@13.0.0-rc45/template/beginner/deps.ts";

Properties

name: string

Channel name (1-100 characters)

optional
type: ChannelTypes

The type of channel

optional
topic: string

Channel topic (0-1024 characters)

optional
bitrate: number

The bitrate (in bits) of the voice channel (voice only)

optional
userLimit: number

The user limit of the voice channel (voice only)

optional
rateLimitPerUser: number

Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected

optional
position: number

Sorting position of the channel

optional
permissionOverwrites: OverwriteReadable[]

The channel's permission overwrites

optional
parentId: bigint

Id of the parent category for a channel

optional
nsfw: boolean

Whether the channel is nsfw