mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
try again
This commit is contained in:
@@ -1165,7 +1165,7 @@ var InternalClient = (function () {
|
||||
};
|
||||
|
||||
this.websocket.onmessage = function (e) {
|
||||
if (e.type === "Binary") {
|
||||
if (e.data instanceof Buffer) {
|
||||
if (!zlib) zlib = require("zlib");
|
||||
e.data = zlib.inflateSync(e.data).toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user