Skip to content

DiscordChannel

Defined in: bot/bot.type.ts:236

A channel or category in a server, as Discord returns it.

optional available_tags?: DiscordForumTag[]

Defined in: bot/bot.type.ts:252

The tags a post in this forum channel can carry; present on forum channels only.


optional default_auto_archive_duration?: number

Defined in: bot/bot.type.ts:256

Minutes a thread of this channel can sit idle before it is archived by default (60, 1440, 4320 or 10080).


optional default_reaction_emoji?: DiscordDefaultReaction | null

Defined in: bot/bot.type.ts:254

The emoji offered as the first reaction on every post of a forum channel, or null when unset.


id: string

Defined in: bot/bot.type.ts:238

The channel id.


name: string

Defined in: bot/bot.type.ts:240

The channel name.


optional parent_id?: string | null

Defined in: bot/bot.type.ts:244

Id of the category the channel sits in, or null for none.


optional permission_overwrites?: DiscordPermissionOverwrite[]

Defined in: bot/bot.type.ts:250

Permission overrides set on this channel.


optional position?: number

Defined in: bot/bot.type.ts:248

The channel’s sort position within its category or the server.


optional topic?: string | null

Defined in: bot/bot.type.ts:246

The channel topic, or null when unset.


type: number

Defined in: bot/bot.type.ts:242

The channel type; see ChannelType.