From dda136500705d168801ed82b8bd8bcc619bc0c1c Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sun, 10 Jul 2022 21:57:55 +1000 Subject: [PATCH] Set client_state.highest_last_message_id to String OR Number --- gateway/src/schema/Identify.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gateway/src/schema/Identify.ts b/gateway/src/schema/Identify.ts index 6a6593c1..6aa93ce7 100644 --- a/gateway/src/schema/Identify.ts +++ b/gateway/src/schema/Identify.ts @@ -38,7 +38,7 @@ export const IdentifySchema = { $capabilities: Number, $client_state: { $guild_hashes: Object, - $highest_last_message_id: String, + $highest_last_message_id: String || Number, $read_state_version: Number, $user_guild_settings_version: Number, $user_settings_version: undefined, @@ -81,7 +81,7 @@ export interface IdentifySchema { capabilities?: number; client_state?: { guild_hashes?: any; - highest_last_message_id?: string; + highest_last_message_id?: string | number; read_state_version?: number; user_guild_settings_version?: number; user_settings_version?: number;