DiscordThreadMetadata
Defined in: bot/bot.type.ts:302
What Discord says about a thread’s state.
Properties
Section titled “Properties”archive_timestamp
Section titled “archive_timestamp”archive_timestamp:
string
Defined in: bot/bot.type.ts:308
When the archived state last changed, as an ISO 8601 timestamp.
archived
Section titled “archived”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
Section titled “auto_archive_duration”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
Section titled “locked”locked:
boolean
Defined in: bot/bot.type.ts:310
Whether only members with Manage Threads can unarchive and post in the thread.