From 55bf6e90d7024522033bb854aa33f6b67c70f991 Mon Sep 17 00:00:00 2001 From: Skillz Date: Thu, 25 Feb 2021 15:30:20 -0500 Subject: [PATCH] this shit i have i no idea --- src/ws/proxy/ws.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ws/proxy/ws.ts b/src/ws/proxy/ws.ts index 2d52ffed0..5deb44412 100644 --- a/src/ws/proxy/ws.ts +++ b/src/ws/proxy/ws.ts @@ -8,6 +8,7 @@ import { import { createShard, handleDiscordPayload, + handleOnMessage, heartbeat, identify, } from "./shard.ts"; @@ -100,6 +101,8 @@ export const ws = { resharder, /** Cleanups loading shards that were unable to load. */ cleanupLoadingShards, + /** Handles the message events from websocket */ + handleOnMessage, }; export interface DiscordenoShard {