Fixed #26 in voiceStateUpdate.js

This commit is contained in:
Christer Warén 2021-08-21 15:15:32 +03:00
parent 0bfb34c1dd
commit 6c860b6b23

View File

@ -16,7 +16,6 @@ module.exports = {
if (newState.channel === null) { if (newState.channel === null) {
client.funcs.statisticsUpdate(client, newState.guild, radio); client.funcs.statisticsUpdate(client, newState.guild, radio);
radio.connection?.destroy();
radio.audioPlayer?.stop(); radio.audioPlayer?.stop();
return client.radio.delete(newState.guild.id); return client.radio.delete(newState.guild.id);
} }