summary refs log tree commit diff
path: root/src/util/schemas
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-05-07 00:11:18 -0400
committerPuyodead1 <puyodead@proton.me>2023-05-07 00:11:18 -0400
commit8534342e3001296fd66adcb66c58925aa719f89c (patch)
treef006abe5994368bd432b57ac0d52ef57e07a4af4 /src/util/schemas
parentadd flags property to voice state update (diff)
downloadserver-8534342e3001296fd66adcb66c58925aa719f89c.tar.xz
add initial_guild_id client state property
Diffstat (limited to 'src/util/schemas')
-rw-r--r--src/util/schemas/IdentifySchema.ts4
1 files changed, 4 insertions, 0 deletions
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;
 }