Stop audioPlayer in stop.js

This commit is contained in:
Christer Warén 2021-08-04 13:07:09 +03:00
parent fb2c18b9b0
commit db409ac6d2

View File

@ -10,6 +10,7 @@ module.exports = {
if (client.funcs.check(client, msg, command)) {
client.funcs.statisticsUpdate(client, msg.guild, radio);
radio.connection.destroy();
radio.audioPlayer.stop();
client.radio.delete(msg.guild.id);
msg.channel.send(client.messageEmojis["stop"] + client.messages.stop);
}