summary refs log tree commit diff
path: root/dist/Schema/Identify.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 22:01:01 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 22:01:01 +0100
commitea41892fef208b10c1bb322de7683c39ebab3dd5 (patch)
treef26559c73196591ac0338a21908a25c806276a7a /dist/Schema/Identify.js
parentMove Models/Schemas to server-util (diff)
downloadserver-ea41892fef208b10c1bb322de7683c39ebab3dd5.tar.xz
:wrench: build
Diffstat (limited to 'dist/Schema/Identify.js')
-rw-r--r--dist/Schema/Identify.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/Schema/Identify.js b/dist/Schema/Identify.js
new file mode 100644
index 00000000..9686a4d0
--- /dev/null
+++ b/dist/Schema/Identify.js
@@ -0,0 +1,20 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.IdentifySchema = void 0;
+const Activity_1 = require("./Activity");
+exports.IdentifySchema = {
+    token: String,
+    properties: {
+        // bruh discord really uses $ in the property key, so we need to double prefix it, because instanceOf treats $ (prefix) as a optional key
+        $$os: String,
+        $$browser: String,
+        $$device: String,
+    },
+    intents: BigInt,
+    $presence: Activity_1.ActivitySchema,
+    $compress: Boolean,
+    $large_threshold: Number,
+    $shard: [Number],
+    $guild_subscriptions: Boolean,
+};
+//# sourceMappingURL=Identify.js.map
\ No newline at end of file