summary refs log tree commit diff
path: root/src/webrtc/opcodes/BackendVersion.ts
blob: d9e7c598c78ab6dd8a7657bd2a7bef7bc8e3d180 (plain) (blame)
1
2
3
4
5
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" } });
}