1
0
mirror of https://github.com/warengroup/eximiabots-radiox.git synced 2025-05-01 22:14:59 +00:00

Dispatcher end to destroy

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

@ -24,7 +24,7 @@ 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);
} }