Update saveRadios function

This commit is contained in:
Christer Warén 2021-09-11 17:14:02 +03:00
parent 05905e6e6d
commit 26eda76b23

View File

@ -10,7 +10,6 @@ module.exports = function saveRadios(client) {
client.funcs.statisticsUpdate(client, currentRadio.guild, currentRadio); client.funcs.statisticsUpdate(client, currentRadio.guild, currentRadio);
client.funcs.saveState(client, currentRadio.guild, currentRadio); client.funcs.saveState(client, currentRadio.guild, currentRadio);
currentRadio.connection?.destroy(); currentRadio.connection?.destroy();
currentRadio.audioPlayer?.stop();
currentRadio.message?.delete(); currentRadio.message?.delete();
client.radio.delete(radio.value); client.radio.delete(radio.value);
} }