Skip to main content

DiscordThreadListSync

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordThreadListSync

Interface: DiscordThreadListSync

Properties

channel_ids?

optional channel_ids: string[]

The parent channel ids whose threads are being synced. If omitted, then threads were synced for the entire guild. This array may contain channelIds that have no active threads as well, so you know to clear that data

Defined in

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


guild_id

guild_id: string

The id of the guild

Defined in

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


members

members: DiscordThreadMember[]

All thread member objects from the synced threads for the current user, indicating which threads the current user has been added to

Defined in

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


threads

threads: DiscordChannel[]

All active threads in the given channels that the current user can access

Defined in

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