From 61981a5b0b333e014ab321134b3ca597aebff982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 2 Sep 2021 17:58:31 +0300 Subject: [PATCH] Updated SIGINT event --- src/client/events/SIGINT.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/client/events/SIGINT.js b/src/client/events/SIGINT.js index 6186db3..d8668dc 100644 --- a/src/client/events/SIGINT.js +++ b/src/client/events/SIGINT.js @@ -21,13 +21,6 @@ module.exports = { currentRadio.connection?.destroy(); currentRadio.audioPlayer?.stop(); currentRadio.message?.delete(); - const cembed = new Discord.MessageEmbed() - .setTitle(client.messages.maintenanceTitle) - .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, '')) - .setColor(client.config.embedColor) - .setDescription(client.messages.sendedMaintenanceMessage) - .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - currentRadio.textChannel.send({ embeds: [cembed] }); client.radio.delete(radio.value); }