summary refs log tree commit diff
path: root/src/webrtc/opcodes/BackendVersion.ts
blob: b4b61c7ddfe5b52622435b4ad81ed3e826f2f483 (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" } });
}