Fix broken loading spinner on stop/restart commands
This commit is contained in:
parent
a0b8b2d5b7
commit
85f2bb252e
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ module.exports = {
|
||||||
async handle (client, config, user, channel) {
|
async handle (client, config, user, channel) {
|
||||||
if (user.id === config.ownerID) {
|
if (user.id === config.ownerID) {
|
||||||
const embeds = [{
|
const embeds = [{
|
||||||
title: '<a:AnitroxWorking:697147309531594843> Restart Bot',
|
title: '<a:AnitroxWorking:997565411212144730> Restart Bot',
|
||||||
description: 'Restarting Anitrox...',
|
description: 'Restarting Anitrox...',
|
||||||
color: 9442302,
|
color: 9442302,
|
||||||
footer: {
|
footer: {
|
||||||
|
@ -31,7 +31,7 @@ module.exports = {
|
||||||
console.log('[SYSTEM] [INFO] Restarted successfully!');
|
console.log('[SYSTEM] [INFO] Restarted successfully!');
|
||||||
await response.edit({
|
await response.edit({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: '<a:AnitroxWorking:697147309531594843> Restart Bot',
|
title: '<a:AnitroxWorking:997565411212144730> Restart Bot',
|
||||||
description: 'Restarted!',
|
description: 'Restarted!',
|
||||||
color: 9442302,
|
color: 9442302,
|
||||||
footer: {
|
footer: {
|
||||||
|
|
|
@ -18,7 +18,7 @@ module.exports = {
|
||||||
await channel.send({
|
await channel.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: '**Shut down the bot**',
|
title: '**Shut down the bot**',
|
||||||
description: '<a:AnitroxWorking:697147309531594843> **Shutting Down...**',
|
description: '<a:AnitroxWorking:997565411212144730> **Shutting Down...**',
|
||||||
color: 9442302,
|
color: 9442302,
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: user.displayAvatarURL(),
|
icon_url: user.displayAvatarURL(),
|
||||||
|
|
Reference in a new issue