summary refs log tree commit diff
path: root/gateway/src/opcodes/Identify.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 01:45:02 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 01:45:02 +0200
commit41a193dff0911da78fe080f610478ecabeb6184a (patch)
tree758769629b934b1ba30b97965f30ef70d60e3139 /gateway/src/opcodes/Identify.ts
parent:bug: fix build (diff)
downloadserver-41a193dff0911da78fe080f610478ecabeb6184a.tar.xz
:art: fix imports with new build script
Diffstat (limited to 'gateway/src/opcodes/Identify.ts')
-rw-r--r--gateway/src/opcodes/Identify.ts17
1 files changed, 4 insertions, 13 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts

index 8233aade..6decf21c 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts
@@ -1,14 +1,6 @@ +import { WebSocket, Payload } from "@fosscord/gateway"; import { - WebSocket, - CLOSECODES, - Payload, - OPCODES, - genSessionId, -} from "@fosscord/gateway"; -import { - Channel, checkToken, - Guild, Intents, Member, ReadyEventData, @@ -16,16 +8,15 @@ import { Session, EVENTEnum, Config, - dbConnection, - PublicMemberProjection, PublicMember, - ChannelType, PublicUser, PrivateUserProjection, } from "@fosscord/util"; +import { Send } from "../util/Send"; +import { CLOSECODES, OPCODES } from "../util/Constants"; +import { genSessionId } from "../util/SessionUtils"; import { setupListener } from "../listener/listener"; import { IdentifySchema } from "../schema/Identify"; -import { Send } from "@fosscord/gateway/util/Send"; // import experiments from "./experiments.json"; const experiments: any = []; import { check } from "./instanceOf";