From 85f2bb252ebccb853730c06df3fda0f3d14cd691 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 28 Jul 2022 21:10:39 -0500 Subject: [PATCH] Fix broken loading spinner on stop/restart commands --- commands/restart.js | 4 ++-- commands/stop.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/restart.js b/commands/restart.js index 992790d..8ef1f9d 100644 --- a/commands/restart.js +++ b/commands/restart.js @@ -15,7 +15,7 @@ module.exports = { async handle (client, config, user, channel) { if (user.id === config.ownerID) { const embeds = [{ - title: ' Restart Bot', + title: ' Restart Bot', description: 'Restarting Anitrox...', color: 9442302, footer: { @@ -31,7 +31,7 @@ module.exports = { console.log('[SYSTEM] [INFO] Restarted successfully!'); await response.edit({ embeds: [{ - title: ' Restart Bot', + title: ' Restart Bot', description: 'Restarted!', color: 9442302, footer: { diff --git a/commands/stop.js b/commands/stop.js index 2eb4891..a9c8e0e 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -18,7 +18,7 @@ module.exports = { await channel.send({ embeds: [{ title: '**Shut down the bot**', - description: ' **Shutting Down...**', + description: ' **Shutting Down...**', color: 9442302, footer: { icon_url: user.displayAvatarURL(),