✨ Event dispatching

This commit is contained in:
Flam3rboy
2021-02-14 18:59:33 +01:00
parent 3f8c652d68
commit f5269ef39e
4 changed files with 168 additions and 21 deletions
+2
View File
@@ -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;