diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-10 21:57:55 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-10 21:57:55 +1000 |
commit | 420779623ee7058d8302fcc14d860773a703e454 (patch) | |
tree | 6a399242a58147c59c2f19efd932c0dad5517e73 | |
parent | Add client_state.useruser_guild_settings_version to Identify schema (diff) | |
download | server-420779623ee7058d8302fcc14d860773a703e454.tar.xz |
Set client_state.highest_last_message_id to String OR Number
-rw-r--r-- | gateway/src/schema/Identify.ts | 4 |
1 files 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; |