Skip to content

DiscordThreadMetadata

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

What Discord says about a thread’s state.

archive_timestamp: string

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

When the archived state last changed, as an ISO 8601 timestamp.


archived: boolean

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

Whether the thread is archived (hidden from the active list until it is used again).


auto_archive_duration: number

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

Minutes of silence after which the thread archives: 60, 1440, 4320 or 10080.


locked: boolean

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

Whether only members with Manage Threads can unarchive and post in the thread.