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