summary refs log tree commit diff
path: root/gateway/src/opcodes/Heartbeat.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-20 23:34:54 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-20 23:34:54 +0200
commit912d1c31d8fc00550d5f9a4d437b874be811a08d (patch)
treeff6ffcabc16c4538e0a14a289886a17577f08eaa /gateway/src/opcodes/Heartbeat.ts
parentMerge branch 'master' into unittests (diff)
downloadserver-912d1c31d8fc00550d5f9a4d437b874be811a08d.tar.xz
:art: rewrite imports
Diffstat (limited to 'gateway/src/opcodes/Heartbeat.ts')
-rw-r--r--gateway/src/opcodes/Heartbeat.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/gateway/src/opcodes/Heartbeat.ts b/gateway/src/opcodes/Heartbeat.ts
index 34d8ca74..46caee56 100644
--- a/gateway/src/opcodes/Heartbeat.ts
+++ b/gateway/src/opcodes/Heartbeat.ts
@@ -1,7 +1,4 @@
-import { CLOSECODES, Payload } from "@fosscord/gateway/util/Constants";
-import { Send } from "@fosscord/gateway/util/Send";
-import { setHeartbeat } from "@fosscord/gateway/util/setHeartbeat";
-import WebSocket from "@fosscord/gateway/util/WebSocket";
+import { Payload, Send, setHeartbeat, WebSocket } from "@fosscord/gateway";
 
 export async function onHeartbeat(this: WebSocket, data: Payload) {
 	// TODO: validate payload