More client properties?

This commit is contained in:
Rory&
2026-10-12 19:53:29 +02:00
parent f6d5ceab75
commit cca4c7470c
4 changed files with 10 additions and 3 deletions
Binary file not shown.
Binary file not shown.
-2
View File
@@ -61,7 +61,6 @@ import {
TraceRoot,
} from "@spacebar/util";
import {
ajv,
ChannelType,
DefaultUserGuildSettings,
DMChannel,
@@ -74,7 +73,6 @@ import {
validateSchema,
} from "@spacebar/schemas";
import { check } from "./instanceOf";
import { AnyValidateFunction } from "ajv/dist/core";
// TODO: user sharding
// TODO: check privileged intents, if defined in the config
+10 -1
View File
@@ -99,15 +99,24 @@ export interface IdentifySchema {
browser_version?: string;
os_version?: string;
referrer?: string;
$referrer?: string;
referring_domain?: string;
$referring_domain?: string;
referrer_current?: string;
referring_domain_current?: string;
release_channel?: "stable" | "dev" | "ptb" | "canary";
release_channel?: "stable" | "dev" | "ptb" | "canary" | string;
client_build_number?: number;
client_event_source?: string;
client_version?: string;
system_locale?: string;
qos_token?: string;
has_client_mods?: boolean;
client_launch_id?: string;
launch_signature?: string;
client_heartbeat_session_id?: string | null;
client_app_state?: string;
is_fast_connect?: boolean;
gateway_connect_reasons?: string;
};
intents?: number;
presence?: ActivitySchema;