blob: 0ea6eb4d580ef3020ed4e597fcc4f62c8c06e58d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { WebSocket } from "@fosscord/gateway";
import { Payload } from "./index";
import { setHeartbeat } from "../util";
import { Server } from "../Server"
export async function onVersion(this: Server, socket: WebSocket, data: Payload) {
socket.send(JSON.stringify({
op: 16,
d: {
voice: "0.8.31", //version numbers?
rtc_worker: "0.3.18",
}
}))
}
|