summary refs log tree commit diff
path: root/gateway/src/opcodes
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:00:49 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:00:49 +0200
commit06fc341e2a6a34f13227a277cfc559b9e108befb (patch)
tree369885fe28a439891d5175249f8711fd09d39442 /gateway/src/opcodes
parent:sparkles: event emit (diff)
downloadserver-06fc341e2a6a34f13227a277cfc559b9e108befb.tar.xz
abstract Event emission
Diffstat (limited to 'gateway/src/opcodes')
-rw-r--r--gateway/src/opcodes/Identify.ts2
-rw-r--r--gateway/src/opcodes/LazyRequest.ts10
2 files changed, 2 insertions, 10 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts
index 43368367..91f7f675 100644
--- a/gateway/src/opcodes/Identify.ts
+++ b/gateway/src/opcodes/Identify.ts
@@ -12,7 +12,7 @@ import {
 	toObject,
 	EVENTEnum,
 	Config,
-} from "@fosscord/server-util";
+} from "@fosscord/util";
 import { setupListener } from "../listener/listener";
 import { IdentifySchema } from "../schema/Identify";
 import { Send } from "../util/Send";
diff --git a/gateway/src/opcodes/LazyRequest.ts b/gateway/src/opcodes/LazyRequest.ts
index b1d553b9..63075e5a 100644
--- a/gateway/src/opcodes/LazyRequest.ts
+++ b/gateway/src/opcodes/LazyRequest.ts
@@ -1,13 +1,5 @@
 // @ts-nocheck WIP
-import {
-	db,
-	getPermission,
-	MemberModel,
-	MongooseCache,
-	PublicUserProjection,
-	RoleModel,
-	toObject,
-} from "@fosscord/server-util";
+import { db, getPermission, PublicUserProjection, toObject } from "@fosscord/util";
 import { LazyRequest } from "../schema/LazyRequest";
 import { OPCODES, Payload } from "../util/Constants";
 import { Send } from "../util/Send";