diff options
Diffstat (limited to 'gateway/src/opcodes/Heartbeat.ts')
-rw-r--r-- | gateway/src/opcodes/Heartbeat.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gateway/src/opcodes/Heartbeat.ts b/gateway/src/opcodes/Heartbeat.ts deleted file mode 100644 index 42b72d4b..00000000 --- a/gateway/src/opcodes/Heartbeat.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Payload, WebSocket } from "@fosscord/gateway"; -import { setHeartbeat } from "../util/Heartbeat"; -import { Send } from "../util/Send"; - -export async function onHeartbeat(this: WebSocket, _data: Payload) { - // TODO: validate payload - - setHeartbeat(this); - - await Send(this, { op: 11 }); -} |