summary refs log tree commit diff
path: root/src/gateway/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/gateway/util')
-rw-r--r--src/gateway/util/Utils.ts4
-rw-r--r--src/gateway/util/WebSocket.ts5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gateway/util/Utils.ts b/src/gateway/util/Utils.ts

index 20880622..23e9569b 100644 --- a/src/gateway/util/Utils.ts +++ b/src/gateway/util/Utils.ts
@@ -16,8 +16,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { sleep } from "@spacebar/extensions"; -import { Event, Session, TimeSpan, VoiceState } from "@spacebar/util"; +import { Session, VoiceState } from "@spacebar/database"; +import { Event, TimeSpan } from "@spacebar/util"; import { WebSocket } from "./WebSocket"; import { OPCODES } from "./Constants"; import { Send } from "./Send"; diff --git a/src/gateway/util/WebSocket.ts b/src/gateway/util/WebSocket.ts
index 41dc93c1..50c7bbb1 100644 --- a/src/gateway/util/WebSocket.ts +++ b/src/gateway/util/WebSocket.ts
@@ -16,12 +16,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { Intents, ListenEventOpts, Permissions, Session } from "@spacebar/util"; import WS from "ws"; import { Deflate, Inflate } from "fast-zlib"; -import { Capabilities } from "./Capabilities"; import { Decoder, Encoder } from "@toondepauw/node-zstd"; +import { Session } from "@spacebar/database"; +import { Intents, ListenEventOpts, Permissions } from "@spacebar/util"; import { QoSPayload } from "../opcodes/Heartbeat"; +import { Capabilities } from "./Capabilities"; export interface WebSocket extends WS { recentTransactions: string[];