Premium tier 0 SKU from staging

This commit is contained in:
Madeline
2022-12-17 17:44:30 +11:00
parent ec6666edee
commit e7a6be0639
4 changed files with 207 additions and 80 deletions
+1
View File
@@ -37,6 +37,7 @@ import { Recipient } from "@fosscord/util";
export async function onIdentify(this: WebSocket, data: Payload) {
clearTimeout(this.readyTimeout);
// TODO: is this needed now that we use `json-bigint`?
if (typeof data.d?.client_state?.highest_last_message_id === "number")
data.d.client_state.highest_last_message_id += "";
check.call(this, IdentifySchema, data.d);
+1 -1
View File
@@ -62,7 +62,7 @@ export async function onVoiceStateUpdate(this: WebSocket, data: Payload) {
});
}
// 'Fix' for this one voice state error
// 'Fix' for this one voice state error. TODO: Find out why this is sent
if (!voiceState.guild_id) return;
//TODO the member should only have these properties: hoisted_role, deaf, joined_at, mute, roles, user