diff --git a/assets/openapi.json b/assets/openapi.json index da2b20f1..a2249dc1 100644 Binary files a/assets/openapi.json and b/assets/openapi.json differ diff --git a/assets/schemas.json b/assets/schemas.json index ab8e0a3f..ecc87b03 100644 Binary files a/assets/schemas.json and b/assets/schemas.json differ diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 330ce561..41f9f83d 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -439,6 +439,10 @@ export async function onIdentify(this: WebSocket, data: Payload) { tutorial: null, session_type: "normal", // TODO auth_session_id_hash: "", // TODO + notification_settings: { + // ???? + flags: 0, + }, }; // Send READY diff --git a/src/util/interfaces/Event.ts b/src/util/interfaces/Event.ts index deb54428..98a64e94 100644 --- a/src/util/interfaces/Event.ts +++ b/src/util/interfaces/Event.ts @@ -129,6 +129,9 @@ export interface ReadyEventData { | "REQUIRE_CAPTCHA" // TODO: allow these to be triggered | "TOS_UPDATE_ACKNOWLEDGMENT" | "AGREEMENTS"; + notification_settings: { + flags: number; + }; } export interface ReadyEvent extends Event {