Skip to content

Commit

Permalink
Fix: deprecated compress option (#2599)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtripg6666tdr authored Sep 8, 2024
1 parent 1b3459e commit 8e9f358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class MusicBot extends MusicBotBase {
"GUILD_VOICE_STATES",
"MESSAGE_CONTENT",
],
compress: !!(requireIfAny("zlib-sync") || requireIfAny("pako")),
compress: requireIfAny("zlib-sync") || requireIfAny("pako") ? "zlib-stream" : false,
},
});

Expand Down

0 comments on commit 8e9f358

Please sign in to comment.