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

index 692f9028..5441118b 100644 --- a/gateway/src/util/Constants.ts +++ b/gateway/src/util/Constants.ts
@@ -1,3 +1,5 @@ +import { VoiceOPCodes } from "@fosscord/webrtc"; + export enum OPCODES { Dispatch = 0, Heartbeat = 1, @@ -43,7 +45,7 @@ export enum CLOSECODES { } export interface Payload { - op: OPCODES; + op: OPCODES | VoiceOPCodes; d?: any; s?: number; t?: string;