GuildChannelCreateOptions

interface GuildChannelCreateOptions

Options for creating a guild channel.

exported from lib.weeble.d

Properties

Property

Type

Description

name

string

Channel name.

nsfw?

boolean

Whether the channel is age-restricted.

permissionOverwrites?

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

Initial permission overwrites.

reason?

string

Audit-log reason for creating the channel.

topic?

string

Initial channel topic.

type?

ChannelType

Discord channel type.