mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 22:43:17 +00:00
Update play.js
This commit is contained in:
parent
8b0e954ea0
commit
78155c56c2
@ -97,6 +97,7 @@ function play(guild, client, url) {
|
||||
const dispatcher = radio.connection
|
||||
.play(url, { bitrate: "auto", volume: 1 })
|
||||
.on("finish", () => {
|
||||
console.log("Stream finished");
|
||||
radio.voiceChannel.leave();
|
||||
client.radio.delete(guild.id);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user