diff --git a/src/client/websocket/handlers/GUILD_MEMBERS_CHUNK.js b/src/client/websocket/handlers/GUILD_MEMBERS_CHUNK.js index f9ac7f9..dfc1aac 100644 --- a/src/client/websocket/handlers/GUILD_MEMBERS_CHUNK.js +++ b/src/client/websocket/handlers/GUILD_MEMBERS_CHUNK.js @@ -19,6 +19,8 @@ module.exports = (client, { d: data }) => { * @property {number} index Index of the received chunk * @property {number} count Number of chunks the client should receive * @property {?string} nonce Nonce for this chunk + * @property {Array<*>} notFound An array of whatever could not be found + * when using {@link Opcodes.REQUEST_GUILD_MEMBERS} */ /** @@ -32,5 +34,6 @@ module.exports = (client, { d: data }) => { count: data.chunk_count, index: data.chunk_index, nonce: data.nonce, + notFound: data.not_found, }); }; diff --git a/typings/index.d.ts b/typings/index.d.ts index 51c8450..9f10cfa 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -4561,7 +4561,7 @@ export interface ClientEvents extends BaseClientEvents { guildMembersChunk: [ members: Collection, guild: Guild, - data: { count: number; index: number; nonce: string | undefined }, + data: { count: number; index: number; nonce: string | undefined; notFound: unknown[] }, ]; guildMemberUpdate: [oldMember: GuildMember | PartialGuildMember, newMember: GuildMember]; guildMemberListUpdate: [