mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 05:00:18 +00:00
Update saveRadios function
This commit is contained in:
parent
05905e6e6d
commit
26eda76b23
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user