fix #295
This commit is contained in:
parent
a95c7aa59c
commit
2e7ec1ec63
@ -3,32 +3,33 @@ import { ActivitySchema } from "./Activity";
|
|||||||
export const IdentifySchema = {
|
export const IdentifySchema = {
|
||||||
token: String,
|
token: String,
|
||||||
$intents: BigInt, // discord uses a Integer for bitfields we use bigints tho. | instanceOf will automatically convert the Number to a BigInt
|
$intents: BigInt, // discord uses a Integer for bitfields we use bigints tho. | instanceOf will automatically convert the Number to a BigInt
|
||||||
$properties: {
|
$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,
|
// // 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_arch: String,
|
// $os: String,
|
||||||
$browser: String,
|
// $os_arch: String,
|
||||||
$device: String,
|
// $browser: String,
|
||||||
$$os: String,
|
// $device: String,
|
||||||
$$browser: String,
|
// $$os: String,
|
||||||
$$device: String,
|
// $$browser: String,
|
||||||
$browser_user_agent: String,
|
// $$device: String,
|
||||||
$browser_version: String,
|
// $browser_user_agent: String,
|
||||||
$os_version: String,
|
// $browser_version: String,
|
||||||
$referrer: String,
|
// $os_version: String,
|
||||||
$$referrer: String,
|
// $referrer: String,
|
||||||
$referring_domain: String,
|
// $$referrer: String,
|
||||||
$$referring_domain: String,
|
// $referring_domain: String,
|
||||||
$referrer_current: String,
|
// $$referring_domain: String,
|
||||||
$referring_domain_current: String,
|
// $referrer_current: String,
|
||||||
$release_channel: String,
|
// $referring_domain_current: String,
|
||||||
$client_build_number: Number,
|
// $release_channel: String,
|
||||||
$client_event_source: String,
|
// $client_build_number: Number,
|
||||||
$client_version: String,
|
// $client_event_source: String,
|
||||||
$system_locale: String,
|
// $client_version: String,
|
||||||
$window_manager: String,
|
// $system_locale: String,
|
||||||
$distro: String,
|
// $window_manager: String,
|
||||||
},
|
// $distro: String,
|
||||||
|
// },
|
||||||
$presence: ActivitySchema,
|
$presence: ActivitySchema,
|
||||||
$compress: Boolean,
|
$compress: Boolean,
|
||||||
$large_threshold: Number,
|
$large_threshold: Number,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user