import { Payload , WebSocket } from "@fosscord/gateway" ; import { setHeartbeat } from "../util/Heartbeat" ; import { Send } from "../util/Send" ; export async function onHeartbeat ( this , data ) { setHeartbeat ( this ) ; await Send ( this , { op : 11 } ) ; }