diff options
author | Puyodead1 <puyodead@proton.me> | 2023-05-07 00:11:18 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-05-07 00:11:18 -0400 |
commit | 8534342e3001296fd66adcb66c58925aa719f89c (patch) | |
tree | f006abe5994368bd432b57ac0d52ef57e07a4af4 | |
parent | add flags property to voice state update (diff) | |
download | server-8534342e3001296fd66adcb66c58925aa719f89c.tar.xz |
add initial_guild_id client state property
-rw-r--r-- | assets/openapi.json | 9 | ||||
-rw-r--r-- | assets/schemas.json | 9 | ||||
-rw-r--r-- | src/util/schemas/IdentifySchema.ts | 4 |
3 files changed, 22 insertions, 0 deletions
diff --git a/assets/openapi.json b/assets/openapi.json index 2dc78741..5a330775 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -4824,6 +4824,9 @@ "guild_versions": {}, "api_code_version": { "type": "integer" + }, + "initial_guild_id": { + "type": "string" } }, "additionalProperties": false @@ -4850,6 +4853,9 @@ "guildVersions": {}, "apiCodeVersion": { "type": "integer" + }, + "initialGuildId": { + "type": "string" } }, "additionalProperties": false @@ -5994,6 +6000,9 @@ }, "suppress": { "type": "boolean" + }, + "flags": { + "type": "integer" } }, "required": [ diff --git a/assets/schemas.json b/assets/schemas.json index dc25cacd..de301bfc 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -63109,6 +63109,9 @@ "guild_versions": {}, "api_code_version": { "type": "integer" + }, + "initial_guild_id": { + "type": "string" } }, "additionalProperties": false @@ -63135,6 +63138,9 @@ "guildVersions": {}, "apiCodeVersion": { "type": "integer" + }, + "initialGuildId": { + "type": "string" } }, "additionalProperties": false @@ -197032,6 +197038,9 @@ }, "suppress": { "type": "boolean" + }, + "flags": { + "type": "integer" } }, "additionalProperties": false, diff --git a/src/util/schemas/IdentifySchema.ts b/src/util/schemas/IdentifySchema.ts index cb967aed..0619dacc 100644 --- a/src/util/schemas/IdentifySchema.ts +++ b/src/util/schemas/IdentifySchema.ts @@ -66,6 +66,7 @@ export const IdentifySchema = { $private_channels_version: Number, $guild_versions: Object, $api_code_version: Number, + $initial_guild_id: String, }, $clientState: { $guildHashes: Object, @@ -75,6 +76,7 @@ export const IdentifySchema = { $userGuildSettingsVersion: undefined, $guildVersions: Object, $apiCodeVersion: Number, + $initialGuildId: String, }, $v: Number, $version: Number, @@ -126,6 +128,7 @@ export interface IdentifySchema { private_channels_version?: number; guild_versions?: unknown; api_code_version?: number; + initial_guild_id?: string; }; clientState?: { guildHashes?: unknown; @@ -135,6 +138,7 @@ export interface IdentifySchema { useruserGuildSettingsVersion?: number; guildVersions?: unknown; apiCodeVersion?: number; + initialGuildId?: string; }; v?: number; } |