From 0e03e39aa2bf8f1b9a58113a3242c4722e64922b Mon Sep 17 00:00:00 2001 From: aetheryx Date: Tue, 9 Aug 2022 17:24:46 +0200 Subject: [PATCH] fix(GatewayGuildMembersChunkDispatchData): make chunk pagination properties mandatory (#558) --- deno/gateway/v10.ts | 4 ++-- deno/gateway/v9.ts | 4 ++-- gateway/v10.ts | 4 ++-- gateway/v9.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deno/gateway/v10.ts b/deno/gateway/v10.ts index 37be704f1..73093d324 100644 --- a/deno/gateway/v10.ts +++ b/deno/gateway/v10.ts @@ -821,11 +821,11 @@ export interface GatewayGuildMembersChunkDispatchData { /** * The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`) */ - chunk_index?: number; + chunk_index: number; /** * The total number of expected chunks for this response */ - chunk_count?: number; + chunk_count: number; /** * If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here */ diff --git a/deno/gateway/v9.ts b/deno/gateway/v9.ts index e463a4754..31c1af79e 100644 --- a/deno/gateway/v9.ts +++ b/deno/gateway/v9.ts @@ -820,11 +820,11 @@ export interface GatewayGuildMembersChunkDispatchData { /** * The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`) */ - chunk_index?: number; + chunk_index: number; /** * The total number of expected chunks for this response */ - chunk_count?: number; + chunk_count: number; /** * If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here */ diff --git a/gateway/v10.ts b/gateway/v10.ts index f48012c29..3ca844ade 100644 --- a/gateway/v10.ts +++ b/gateway/v10.ts @@ -821,11 +821,11 @@ export interface GatewayGuildMembersChunkDispatchData { /** * The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`) */ - chunk_index?: number; + chunk_index: number; /** * The total number of expected chunks for this response */ - chunk_count?: number; + chunk_count: number; /** * If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here */ diff --git a/gateway/v9.ts b/gateway/v9.ts index 55a842080..1586c8217 100644 --- a/gateway/v9.ts +++ b/gateway/v9.ts @@ -820,11 +820,11 @@ export interface GatewayGuildMembersChunkDispatchData { /** * The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`) */ - chunk_index?: number; + chunk_index: number; /** * The total number of expected chunks for this response */ - chunk_count?: number; + chunk_count: number; /** * If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here */