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
commit690faeb52cc57805d4ef30fb3e5375ddc09f41fe (patch)
treed3469bb8af6f8b0ad7c5e8e819fe33c2dacbdcd9 /gateway/src/util/Constants.ts
parentPerhaps a message create perf test? (diff)
downloadserver-ts-690faeb52cc57805d4ef30fb3e5375ddc09f41fe.tar.xz
Probably broken merge from webrtc
Diffstat (limited to 'gateway/src/util/Constants.ts')
-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;