diff options
Diffstat (limited to 'gateway/src/schema/Identify.ts')
-rw-r--r-- | gateway/src/schema/Identify.ts | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/gateway/src/schema/Identify.ts b/gateway/src/schema/Identify.ts index f6d95204..cbd6630a 100644 --- a/gateway/src/schema/Identify.ts +++ b/gateway/src/schema/Identify.ts @@ -3,32 +3,33 @@ import { ActivitySchema } from "./Activity"; export const IdentifySchema = { token: String, $intents: BigInt, // discord uses a Integer for bitfields we use bigints tho. | instanceOf will automatically convert the Number to a BigInt - $properties: { - // bruh discord really uses $ in the property key for bots, so we need to double prefix it, because instanceOf treats $ (prefix) as a optional key - $os: String, - $os_arch: String, - $browser: String, - $device: String, - $$os: String, - $$browser: String, - $$device: String, - $browser_user_agent: String, - $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: String, - $client_build_number: Number, - $client_event_source: String, - $client_version: String, - $system_locale: String, - $window_manager: String, - $distro: String, - }, + $properties: Object, + // { + // // bruh discord really uses $ in the property key for bots, so we need to double prefix it, because instanceOf treats $ (prefix) as a optional key + // $os: String, + // $os_arch: String, + // $browser: String, + // $device: String, + // $$os: String, + // $$browser: String, + // $$device: String, + // $browser_user_agent: String, + // $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: String, + // $client_build_number: Number, + // $client_event_source: String, + // $client_version: String, + // $system_locale: String, + // $window_manager: String, + // $distro: String, + // }, $presence: ActivitySchema, $compress: Boolean, $large_threshold: Number, |