From da2086696784f4d4d82eb853630e4d94662661dd Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Wed, 1 Feb 2023 13:00:04 +1100 Subject: Use erlpack instead of @yukikaze-bot/erlpack (#968) --- src/webrtc/events/Connection.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/webrtc') diff --git a/src/webrtc/events/Connection.ts b/src/webrtc/events/Connection.ts index 0971bc19..c362c97a 100644 --- a/src/webrtc/events/Connection.ts +++ b/src/webrtc/events/Connection.ts @@ -23,10 +23,6 @@ import WS from "ws"; import { VoiceOPCodes } from "../util"; import { onClose } from "./Close"; import { onMessage } from "./Message"; -var erlpack: any; -try { - erlpack = require("@yukikaze-bot/erlpack"); -} catch (error) {} // TODO: check rate limit // TODO: specify rate limit in config -- cgit 1.5.1