From 6b6533dc53a530cf30b9d2bbfe00356475b8a436 Mon Sep 17 00:00:00 2001 From: Christer Date: Tue, 14 Apr 2020 14:16:20 +0300 Subject: [PATCH] Changing Dispatcher streamOptions in play.js --- client/commands/play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/commands/play.js b/client/commands/play.js index 68e6098..ed1b43f 100644 --- a/client/commands/play.js +++ b/client/commands/play.js @@ -95,7 +95,7 @@ function play(guild, client, url) { const radio = client.radio.get(guild.id); const dispatcher = radio.connection - .play(url, { bitrate: 1024, passes: 10, volume: 1, highWaterMark: 1 << 25 }) + .play(url, { bitrate: "auto", volume: 1 }) .on("finish", () => { radio.voiceChannel.leave(); client.radio.delete(guild.id);