From b2ae9ef6f01048ab0dc6e32c47a5d6530d30ac00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 4 Aug 2021 13:07:48 +0300 Subject: [PATCH] Stop audioPlayer in maintenance.js --- src/client/commands/maintenance.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/commands/maintenance.js b/src/client/commands/maintenance.js index a589fbd..6e6ba96 100644 --- a/src/client/commands/maintenance.js +++ b/src/client/commands/maintenance.js @@ -28,6 +28,7 @@ module.exports = { if(currentRadio){ client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio); currentRadio.connection.destroy(); + currentRadio.audioPlayer.stop(); const cembed = new Discord.MessageEmbed() .setTitle(client.messages.maintenanceTitle) .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, ''))