Use erlpack instead of @yukikaze-bot/erlpack (#968)

This commit is contained in:
Madeline
2023-02-01 13:00:04 +11:00
committed by GitHub
parent 72c0319a9f
commit da20866967
8 changed files with 80 additions and 49 deletions
-4
View File
@@ -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