summary refs log tree commit diff
path: root/gateway/src
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/src')
-rw-r--r--gateway/src/events/Connection.ts2
-rw-r--r--gateway/src/events/Message.ts2
-rw-r--r--gateway/src/util/Send.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/gateway/src/events/Connection.ts b/gateway/src/events/Connection.ts
index b9d2d6a1..72f7ffe3 100644
--- a/gateway/src/events/Connection.ts
+++ b/gateway/src/events/Connection.ts
@@ -11,7 +11,7 @@ import { URL } from "url";
 import { Session } from "@fosscord/util";
 var erlpack: any;
 try {
-	erlpack = require("erlpack");
+	erlpack = require("@yukikaze-bot/erlpack");
 } catch (error) {}
 
 // TODO: check rate limit
diff --git a/gateway/src/events/Message.ts b/gateway/src/events/Message.ts
index 66f98f1c..5e96bf54 100644
--- a/gateway/src/events/Message.ts
+++ b/gateway/src/events/Message.ts
@@ -1,7 +1,7 @@
 import WebSocket from "@fosscord/gateway/util/WebSocket";
 var erlpack: any;
 try {
-	erlpack = require("erlpack");
+	erlpack = require("@yukikaze-bot/erlpack");
 } catch (error) {}
 import OPCodeHandlers from "../opcodes";
 import { Payload, CLOSECODES, OPCODES } from "@fosscord/gateway/util/Constants";
diff --git a/gateway/src/util/Send.ts b/gateway/src/util/Send.ts
index 1b00e361..0210d9dd 100644
--- a/gateway/src/util/Send.ts
+++ b/gateway/src/util/Send.ts
@@ -1,6 +1,6 @@
 var erlpack: any;
 try {
-	erlpack = require("erlpack");
+	erlpack = require("@yukikaze-bot/erlpack");
 } catch (error) {}
 import { Payload } from "@fosscord/gateway/util/Constants";