summary refs log tree commit diff
path: root/dist/Schema/Identify.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-06 15:35:02 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-06 15:35:02 +0100
commit84d714324ad65de94cfb3076daa8f6622a54e438 (patch)
tree563a0686d87db0bba3d6e1ce3aa2f561dfe58998 /dist/Schema/Identify.d.ts
parentupdate missing-native-js-functions version (diff)
downloadserver-84d714324ad65de94cfb3076daa8f6622a54e438.tar.xz
:sparkles: Schema interfaces
Diffstat (limited to 'dist/Schema/Identify.d.ts')
-rw-r--r--dist/Schema/Identify.d.ts17
1 files changed, 16 insertions, 1 deletions
diff --git a/dist/Schema/Identify.d.ts b/dist/Schema/Identify.d.ts

index be586093..a7fa5b23 100644 --- a/dist/Schema/Identify.d.ts +++ b/dist/Schema/Identify.d.ts
@@ -1,3 +1,4 @@ +import { ActivitySchema } from "./Activity"; export declare const IdentifySchema: { token: StringConstructor; properties: { @@ -23,7 +24,7 @@ export declare const IdentifySchema: { $State: StringConstructor; $emoji: { name: StringConstructor; - id: BigIntConstructor; + $id: BigIntConstructor; animated: BooleanConstructor; }; $party: { @@ -51,3 +52,17 @@ export declare const IdentifySchema: { $shard: NumberConstructor[]; $guild_subscriptions: BooleanConstructor; }; +export interface IdentifySchema { + token: string; + properties: { + $$os: string; + $$browser: string; + $$device: string; + }; + intents: bigint; + presence?: ActivitySchema; + compress?: boolean; + large_threshold?: number; + shard?: [number]; + guild_subscriptions?: boolean; +}