diff options
Diffstat (limited to 'gateway/src')
-rw-r--r-- | gateway/src/events/Connection.ts | 2 | ||||
-rw-r--r-- | gateway/src/events/Message.ts | 2 | ||||
-rw-r--r-- | gateway/src/util/Send.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gateway/src/events/Connection.ts b/gateway/src/events/Connection.ts index cb4fc85a..85f92b77 100644 --- a/gateway/src/events/Connection.ts +++ b/gateway/src/events/Connection.ts @@ -14,7 +14,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 be95bd15..1f1c4f72 100644 --- a/gateway/src/events/Message.ts +++ b/gateway/src/events/Message.ts @@ -1,7 +1,7 @@ import { WebSocket, Payload, CLOSECODES, OPCODES } from "@fosscord/gateway"; var erlpack: any; try { - erlpack = require("erlpack"); + erlpack = require("@yukikaze-bot/erlpack"); } catch (error) {} import OPCodeHandlers from "../opcodes"; import { instanceOf, Tuple } from "lambert-server"; diff --git a/gateway/src/util/Send.ts b/gateway/src/util/Send.ts index ff8aefc9..4defa898 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, WebSocket } from "@fosscord/gateway"; |