Skip to main content

DiscordGuildMembersChunk

@discordeno/bot


Documentation / @discordeno/bot / DiscordGuildMembersChunk

Interface: DiscordGuildMembersChunk

Defined in: packages/types/dist/types/discord/gateway.d.ts:384

https://discord.com/developers/docs/events/gateway-events#guild-members-chunk-guild-members-chunk-event-fields

Properties

chunk_count

chunk_count: number

Defined in: packages/types/dist/types/discord/gateway.d.ts:392

The total number of expected chunks for this response


chunk_index

chunk_index: number

Defined in: packages/types/dist/types/discord/gateway.d.ts:390

The chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count)


guild_id

guild_id: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:386

The id of the guild


members

members: DiscordMemberWithUser[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:388

Set of guild members


nonce?

optional nonce: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:398

The nonce used in the Guild Members Request


not_found?

optional not_found: string[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:394

If passing an invalid id to REQUEST_GUILD_MEMBERS, it will be returned here


presences?

optional presences: DiscordPresenceUpdate[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:396

If passing true to REQUEST_GUILD_MEMBERS, presences of the returned members will be here