summary refs log tree commit diff
path: root/src/util/WebSocket.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/WebSocket.ts')
-rw-r--r--src/util/WebSocket.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/WebSocket.ts b/src/util/WebSocket.ts

index 347d78cb..11db47e0 100644 --- a/src/util/WebSocket.ts +++ b/src/util/WebSocket.ts
@@ -1,6 +1,7 @@ -import { Intents } from "@fosscord/server-util"; +import { Intents, Permissions } from "@fosscord/server-util"; import WS, { Server, Data } from "ws"; import { Deflate } from "zlib"; +import { Channel } from "amqplib"; interface WebSocket extends WS { version: number; @@ -14,6 +15,8 @@ interface WebSocket extends WS { readyTimeout: NodeJS.Timeout; intents: Intents; sequence: number; + rabbitCh?: Channel; + permissions: Record<string, Permissions>; } export default WebSocket;