13 lines
313 B
TypeScript
13 lines
313 B
TypeScript
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);
|
|
}
|