mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-10-13 20:54:27 +00:00
Updated maintenance command
This commit is contained in:
1 parent
dd37b3447f
commit
8168650f69
1 file changed
+2
-2
@@ -32,8 +32,8 @@ module.exports = {
|
||||
|
||||
if(currentRadio){
|
||||
client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio);
|
||||
currentRadio.connection.destroy();
|
||||
currentRadio.audioPlayer.stop();
|
||||
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, ''))
|
||||
|
||||
Reference in new issue
Block a user