Dispatcher end to destroy

This commit is contained in:
Christer Warén 2020-03-08 21:20:47 +02:00
parent b92aa36fca
commit e0d25d97a5

View File

@ -24,9 +24,9 @@ module.exports = {
if (radio.voiceChannel.members.size === 1) { if (radio.voiceChannel.members.size === 1) {
radio.songs = []; radio.songs = [];
radio.looping = false; radio.looping = false;
radio.connection.dispatcher.end(); radio.connection.dispatcher.destroy();
} }
}, 12000); }, 12000);
} }
} }
} }