mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 21:33:17 +00:00
Stop audioPlayer in stop.js
This commit is contained in:
parent
fb2c18b9b0
commit
db409ac6d2
@ -10,6 +10,7 @@ module.exports = {
|
|||||||
if (client.funcs.check(client, msg, command)) {
|
if (client.funcs.check(client, msg, command)) {
|
||||||
client.funcs.statisticsUpdate(client, msg.guild, radio);
|
client.funcs.statisticsUpdate(client, msg.guild, radio);
|
||||||
radio.connection.destroy();
|
radio.connection.destroy();
|
||||||
|
radio.audioPlayer.stop();
|
||||||
client.radio.delete(msg.guild.id);
|
client.radio.delete(msg.guild.id);
|
||||||
msg.channel.send(client.messageEmojis["stop"] + client.messages.stop);
|
msg.channel.send(client.messageEmojis["stop"] + client.messages.stop);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user