Some changes

This commit is contained in:
Christer Warén
2020-03-08 16:54:57 +02:00
parent 60cf8df203
commit f8691b1892
2 changed files with 5 additions and 7 deletions

View File

@ -5,7 +5,7 @@ module.exports = async function (guild, client, url) {
.play(url, { bitrate: 1024, passes: 10, volume: 1, highWaterMark: 1 << 25 })
.on("finish", () => {
radio.voiceChannel.leave();
radio.delete();
client.radio.delete(guild.id);
return;
});
dispatcher.on('start', () => {