From 5efb68b717de7a9399d5d9d47bf5acff4df2b5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 4 Aug 2021 12:56:08 +0300 Subject: [PATCH] Removed radio.voiceChannel.leave() and replaced with radio.connection.destroy() in maintenance.js --- src/client/commands/maintenance.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/commands/maintenance.js b/src/client/commands/maintenance.js index ef85a78..a589fbd 100644 --- a/src/client/commands/maintenance.js +++ b/src/client/commands/maintenance.js @@ -28,7 +28,6 @@ module.exports = { if(currentRadio){ client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio); currentRadio.connection.destroy(); - currentRadio.voiceChannel.leave(); const cembed = new Discord.MessageEmbed() .setTitle(client.messages.maintenanceTitle) .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, ''))