summary refs log tree commit diff
path: root/gateway/src/opcodes/Resume.ts
blob: 42dc586dfbef8d2e73412789dde0df45326303e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { WebSocket, Payload } 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);
}