summary refs log tree commit diff
path: root/gateway/src/util/Constants.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-16 12:54:02 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-16 13:19:33 +1000
commit493c21968b2758fe987e63a7b7750427c726068d (patch)
tree0fe5e7d17f99374fdfb4bb1b13c310b959a9c393 /gateway/src/util/Constants.ts
parentPerhaps a message create perf test? (diff)
downloadserver-493c21968b2758fe987e63a7b7750427c726068d.tar.xz
Probably broken merge from webrtc
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;