From 84d714324ad65de94cfb3076daa8f6622a54e438 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 6 Feb 2021 15:35:02 +0100 Subject: :sparkles: Schema interfaces --- dist/Schema/Identify.d.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'dist/Schema/Identify.d.ts') 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; +} -- cgit 1.5.1