Skip to content

DiscordThread

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

A thread, which in a forum channel is a post.

optional applied_tags?: string[]

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

Ids of the forum tags applied to the post.


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.

DiscordChannel.available_tags


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).

DiscordChannel.default_auto_archive_duration


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.

DiscordChannel.default_reaction_emoji


id: string

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

The channel id.

DiscordChannel.id


name: string

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

The channel name.

DiscordChannel.name


optional owner_id?: string

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

Id of the user who made the thread.


parent_id: string

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

Id of the forum or text channel the thread belongs to.

DiscordChannel.parent_id


optional permission_overwrites?: DiscordPermissionOverwrite[]

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

Permission overrides set on this channel.

DiscordChannel.permission_overwrites


optional position?: number

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

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

DiscordChannel.position


thread_metadata: DiscordThreadMetadata

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

The thread’s archive state.


optional topic?: string | null

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

The channel topic, or null when unset.

DiscordChannel.topic


type: number

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

The channel type; see ChannelType.

DiscordChannel.type