From f5269ef39eee21a098679eab121fb3636f460a04 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 14 Feb 2021 18:59:33 +0100 Subject: :sparkles: Event dispatching --- src/util/WebSocket.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util/WebSocket.ts') diff --git a/src/util/WebSocket.ts b/src/util/WebSocket.ts index 41ce8851..10b8348f 100644 --- a/src/util/WebSocket.ts +++ b/src/util/WebSocket.ts @@ -1,3 +1,4 @@ +import { Intents } from "fosscord-server-util"; import WS, { Server, Data } from "ws"; interface WebSocket extends WS { @@ -7,6 +8,7 @@ interface WebSocket extends WS { compress?: "zlib-stream"; heartbeatTimeout: NodeJS.Timeout; readyTimeout: NodeJS.Timeout; + intents: Intents; } export default WebSocket; -- cgit 1.5.1