DiscordThreadMetadata
Documentation / @discordeno/bot / DiscordThreadMetadata
Interface: DiscordThreadMetadata
Defined in: packages/types/dist/types/discord.d.ts:1053
Properties
archive_timestamp
archive_timestamp:
string
Defined in: packages/types/dist/types/discord.d.ts:1063
Timestamp when the thread's archive status was last changed, used for calculating recent activity
archived
archived:
boolean
Defined in: packages/types/dist/types/discord.d.ts:1055
Whether the thread is archived
auto_archive_duration
auto_archive_duration:
60
|1440
|4320
|10080
Defined in: packages/types/dist/types/discord.d.ts:1057
Duration in minutes to automatically archive the thread after recent activity
create_timestamp?
optional
create_timestamp:null
|string
Defined in: packages/types/dist/types/discord.d.ts:1065
Timestamp when the thread was created; only populated for threads created after 2022-01-09
invitable?
optional
invitable:boolean
Defined in: packages/types/dist/types/discord.d.ts:1061
whether non-moderators can add other non-moderators to a thread; only available on private threads
locked
locked:
boolean
Defined in: packages/types/dist/types/discord.d.ts:1059
When a thread is locked, only users with MANAGE_THREADS
can unarchive it