From f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sun, 25 Sep 2022 18:24:21 +1000 Subject: Refactor to mono-repo + upgrade packages --- src/webrtc/opcodes/BackendVersion.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/webrtc/opcodes/BackendVersion.ts (limited to 'src/webrtc/opcodes/BackendVersion.ts') diff --git a/src/webrtc/opcodes/BackendVersion.ts b/src/webrtc/opcodes/BackendVersion.ts new file mode 100644 index 00000000..b4b61c7d --- /dev/null +++ b/src/webrtc/opcodes/BackendVersion.ts @@ -0,0 +1,6 @@ +import { Payload, Send, WebSocket } from "@fosscord/gateway"; +import { VoiceOPCodes } from "../util"; + +export async function onBackendVersion(this: WebSocket, data: Payload) { + await Send(this, { op: VoiceOPCodes.VOICE_BACKEND_VERSION, d: { voice: "0.8.43", rtc_worker: "0.3.26" } }); +} \ No newline at end of file -- cgit 1.4.1