summary refs log tree commit diff
path: root/src/webrtc/opcodes/BackendVersion.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webrtc/opcodes/BackendVersion.ts')
-rw-r--r--src/webrtc/opcodes/BackendVersion.ts6
1 files changed, 6 insertions, 0 deletions
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