1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 21:23:24 +01:00
server/dist/Schema/Identify.js
Flam3rboy ea41892fef 🔧 build
2021-02-05 22:01:01 +01:00

20 lines
657 B
JavaScript

"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