mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 11:43:38 +00:00
Updated stop.js & voiceStateUpdate.js
This commit is contained in:
@ -9,8 +9,8 @@ module.exports = {
|
||||
const radio = client.radio.get(msg.guild.id);
|
||||
if (client.funcs.check(client, msg, command)) {
|
||||
client.funcs.statisticsUpdate(client, msg.guild, radio);
|
||||
radio.connection.destroy();
|
||||
radio.audioPlayer.stop();
|
||||
radio.connection?.destroy();
|
||||
radio.audioPlayer?.stop();
|
||||
client.radio.delete(msg.guild.id);
|
||||
msg.channel.send(client.messageEmojis["stop"] + client.messages.stop);
|
||||
}
|
||||
|
Reference in New Issue
Block a user