summary refs log tree commit diff
path: root/src/gateway/opcodes/Resume.ts
blob: f320864b1875a3cc7e7b270c9f148601d336625d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { Payload, WebSocket } from "@fosscord/gateway";
import { Send } from "../util/Send";

export async function onResume(this: WebSocket, data: Payload) {
	console.log("Got Resume -> cancel not implemented");
	await Send(this, {
		op: 9,
		d: false
	});

	// return this.close(CLOSECODES.Invalid_session);
}