blob: b312d6f2ea7cc57819be4c62f28ceb17f8231ead (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import { WebSocket } from "@fosscord/gateway";
import { Payload } from "./index";
import { Server } from "../Server"
export async function onConnect(this: Server, socket: WebSocket, data: Payload) {
socket.send(JSON.stringify({
op: 15,
d: { any: 100 }
}))
}
|