⬆️ update test client
This commit is contained in:
parent
56d9fa3334
commit
0bf59ee28a
@ -45,9 +45,9 @@
|
|||||||
`{"trace":false,"canary":false,"logGatewayEvents":true,"logOverlayEvents":true,"logAnalyticsEvents":true,"sourceMapsEnabled":false,"axeEnabled":false}`
|
`{"trace":false,"canary":false,"logGatewayEvents":true,"logOverlayEvents":true,"logAnalyticsEvents":true,"sourceMapsEnabled":false,"axeEnabled":false}`
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
<script src="/assets/042023d8ee73c0c3fd74.js"></script>
|
<script src="/assets/1dfc47a02b92fa11de87.js"></script>
|
||||||
<script src="/assets/4a5d0d639aefbb9cafca.js"></script>
|
<script src="/assets/60611ef20efa1f11238a.js"></script>
|
||||||
<script src="/assets/8da53effd7b0af7e3415.js"></script>
|
<script src="/assets/b83bc9f9c08cf5073adf.js"></script>
|
||||||
<script src="/assets/95efcedbf0bf27cbdbbd.js"></script>
|
<script src="/assets/e92920082b09191a5bb0.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -205,7 +205,7 @@ router.post(
|
|||||||
hash: adjusted_password,
|
hash: adjusted_password,
|
||||||
valid_tokens_since: new Date()
|
valid_tokens_since: new Date()
|
||||||
},
|
},
|
||||||
settings: defaultSettings,
|
settings: { ...defaultSettings, locale: req.language || "en-US" },
|
||||||
fingerprints: []
|
fingerprints: []
|
||||||
}).save();
|
}).save();
|
||||||
|
|
||||||
|
@ -147,7 +147,9 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
guilds: guilds.map((x) => {
|
guilds: guilds.map((x) => {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
x.guild_hashes = {};
|
x.guild_hashes = {}; // @ts-ignore
|
||||||
|
x.guild_scheduled_events = []; // @ts-ignore
|
||||||
|
x.threads = [];
|
||||||
return x;
|
return x;
|
||||||
}),
|
}),
|
||||||
guild_experiments: [], // TODO
|
guild_experiments: [], // TODO
|
||||||
|
@ -5,7 +5,7 @@ export const IdentifySchema = {
|
|||||||
$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: Object,
|
$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
|
// // discord uses $ in the property key for bots, so we need to double prefix it, because instanceOf treats $ (prefix) as a optional key
|
||||||
// $os: String,
|
// $os: String,
|
||||||
// $os_arch: String,
|
// $os_arch: String,
|
||||||
// $browser: String,
|
// $browser: String,
|
||||||
|
@ -16,7 +16,6 @@ import { Webhook } from "./Webhook";
|
|||||||
// TODO: guild_scheduled_events
|
// TODO: guild_scheduled_events
|
||||||
// TODO: stage_instances
|
// TODO: stage_instances
|
||||||
// TODO: threads
|
// TODO: threads
|
||||||
// TODO: description
|
|
||||||
// TODO: categories:
|
// TODO: categories:
|
||||||
// [{
|
// [{
|
||||||
// "id": 16,
|
// "id": 16,
|
||||||
|
@ -185,7 +185,7 @@ export const defaultSettings: UserSettings = {
|
|||||||
guild_positions: [],
|
guild_positions: [],
|
||||||
inline_attachment_media: true,
|
inline_attachment_media: true,
|
||||||
inline_embed_media: true,
|
inline_embed_media: true,
|
||||||
locale: "en",
|
locale: "en-US",
|
||||||
message_display_compact: false,
|
message_display_compact: false,
|
||||||
native_phone_integration_enabled: true,
|
native_phone_integration_enabled: true,
|
||||||
render_embeds: true,
|
render_embeds: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user