Skip to main content

DiscordGuildMembersChunk

@discordeno/bot


Documentation / @discordeno/bot / DiscordGuildMembersChunk

Interface: DiscordGuildMembersChunk

Defined in: packages/types/dist/types/discord.d.ts:2679

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

Properties

chunk_count

chunk_count: number

Defined in: packages/types/dist/types/discord.d.ts:2687

The total number of expected chunks for this response


chunk_index

chunk_index: number

Defined in: packages/types/dist/types/discord.d.ts:2685

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.d.ts:2681

The id of the guild


members

members: DiscordMemberWithUser[]

Defined in: packages/types/dist/types/discord.d.ts:2683

Set of guild members


nonce?

optional nonce: string

Defined in: packages/types/dist/types/discord.d.ts:2693

The nonce used in the Guild Members Request


not_found?

optional not_found: string[]

Defined in: packages/types/dist/types/discord.d.ts:2689

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.d.ts:2691

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