From db409ac6d25f6419c1e65d6e43bc9bde830823ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 4 Aug 2021 13:07:09 +0300 Subject: [PATCH] Stop audioPlayer in stop.js --- src/client/commands/stop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/commands/stop.js b/src/client/commands/stop.js index d87757f..52628b5 100644 --- a/src/client/commands/stop.js +++ b/src/client/commands/stop.js @@ -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); }