mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 03:13:20 +00:00
Changing Dispatcher streamOptions in play.js
This commit is contained in:
parent
1f6454d6ac
commit
6b6533dc53
@ -95,7 +95,7 @@ function play(guild, client, url) {
|
|||||||
const radio = client.radio.get(guild.id);
|
const radio = client.radio.get(guild.id);
|
||||||
|
|
||||||
const dispatcher = radio.connection
|
const dispatcher = radio.connection
|
||||||
.play(url, { bitrate: 1024, passes: 10, volume: 1, highWaterMark: 1 << 25 })
|
.play(url, { bitrate: "auto", volume: 1 })
|
||||||
.on("finish", () => {
|
.on("finish", () => {
|
||||||
radio.voiceChannel.leave();
|
radio.voiceChannel.leave();
|
||||||
client.radio.delete(guild.id);
|
client.radio.delete(guild.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user