summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gateway/src/events/Message.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/gateway/src/events/Message.ts b/gateway/src/events/Message.ts
index 83917690..e9271da4 100644
--- a/gateway/src/events/Message.ts
+++ b/gateway/src/events/Message.ts
@@ -37,6 +37,9 @@ export async function Message(this: WebSocket, buffer: WS.Data) {
 	}
 	else return;
 
+	// TODO: find a way to properly convert a funny number to string
+	if (data?.op == 14 && typeof data.d.guild_id == "number") return;
+
 	check.call(this, PayloadSchema, data);
 
 	// @ts-ignore