mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 10:23:37 +00:00
Update play.js
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user