GuildChannelCreateOptions

interface GuildChannelCreateOptions

Options for creating a guild channel.

Properties

Property

Type

Description

bitrate?

number

Voice bitrate in bits per second.

name

string

Channel name.

nsfw?

boolean

Whether the channel is age-restricted.

parentId?

string | null

Category to create the channel in.

permissionOverwrites?

{ allow?: string; deny?: string; id: string; type: PermissionOverwriteType }[]

Initial permission overwrites.

position?

number

Sorting position in the channel list.

rateLimitPerUser?

number

Slowmode in seconds, from 0 to 21600.

reason?

string

Audit-log reason for creating the channel.

topic?

string

Initial channel topic.

type?

ChannelType

Discord channel type.

userLimit?

number

Maximum users in a voice channel, or 0 for no limit.