Skip to main content

DiscordThreadMetadata

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordThreadMetadata

Interface: DiscordThreadMetadata

Properties

archive_timestamp

archive_timestamp: string

Timestamp when the thread's archive status was last changed, used for calculating recent activity

Defined in

packages/types/dist/types/discord.d.ts:1060


archived

archived: boolean

Whether the thread is archived

Defined in

packages/types/dist/types/discord.d.ts:1052


auto_archive_duration

auto_archive_duration: 60 | 1440 | 4320 | 10080

Duration in minutes to automatically archive the thread after recent activity

Defined in

packages/types/dist/types/discord.d.ts:1054


create_timestamp?

optional create_timestamp: null | string

Timestamp when the thread was created; only populated for threads created after 2022-01-09

Defined in

packages/types/dist/types/discord.d.ts:1062


invitable?

optional invitable: boolean

whether non-moderators can add other non-moderators to a thread; only available on private threads

Defined in

packages/types/dist/types/discord.d.ts:1058


locked

locked: boolean

When a thread is locked, only users with MANAGE_THREADS can unarchive it

Defined in

packages/types/dist/types/discord.d.ts:1056