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

index 5441118b..ff9b5525 100644 --- a/gateway/src/util/Constants.ts +++ b/gateway/src/util/Constants.ts
@@ -1,4 +1,4 @@ -import { VoiceOPCodes } from "@fosscord/webrtc"; +// import { VoiceOPCodes } from "@fosscord/webrtc"; export enum OPCODES { Dispatch = 0, @@ -45,7 +45,7 @@ export enum CLOSECODES { } export interface Payload { - op: OPCODES | VoiceOPCodes; + op: OPCODES /* | VoiceOPCodes */; d?: any; s?: number; t?: string; diff --git a/gateway/src/util/WebSocket.ts b/gateway/src/util/WebSocket.ts
index d549ec77..930fa78a 100644 --- a/gateway/src/util/WebSocket.ts +++ b/gateway/src/util/WebSocket.ts
@@ -1,7 +1,7 @@ import { Intents, Permissions } from "@fosscord/util"; import WS from "ws"; import { Deflate, Inflate } from "fast-zlib"; -import { Client } from "@fosscord/webrtc"; +// import { Client } from "@fosscord/webrtc"; export interface WebSocket extends WS { version: number; @@ -22,5 +22,5 @@ export interface WebSocket extends WS { events: Record<string, Function>; member_events: Record<string, Function>; listen_options: any; - client?: Client; + // client?: Client; }