From 82fac8b0aa46ea87550e35659460999b76d0fa41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 15 Aug 2020 02:54:04 +0300 Subject: [PATCH] Fixed typo in footerText text variable --- client/commands/bug.js | 2 +- client/commands/help.js | 4 ++-- client/commands/invite.js | 2 +- client/commands/list.js | 2 +- client/commands/maintenance.js | 4 ++-- client/commands/nowplaying.js | 2 +- client/commands/statistics.js | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/client/commands/bug.js b/client/commands/bug.js index c3eb210..d2a92d5 100644 --- a/client/commands/bug.js +++ b/client/commands/bug.js @@ -17,7 +17,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription(message.bugDescription) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); msg.channel.send(embed); }, diff --git a/client/commands/help.js b/client/commands/help.js index 9bd8d43..bc1561f 100644 --- a/client/commands/help.js +++ b/client/commands/help.js @@ -23,7 +23,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription(message.helpCommandDescription) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); msg.channel.send(embed); } else { const categories = []; @@ -44,7 +44,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["logo"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription(message.helpDescription) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); msg.channel.send(embed); } } diff --git a/client/commands/invite.js b/client/commands/invite.js index f5c8a0d..f3337ef 100644 --- a/client/commands/invite.js +++ b/client/commands/invite.js @@ -12,7 +12,7 @@ module.exports = { .setTitle(message.inviteTitle) .setColor(client.config.embedColor) .setURL(client.config.invite) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); return msg.channel.send(embed); } }; \ No newline at end of file diff --git a/client/commands/list.js b/client/commands/list.js index c8a5a92..f1aa7e7 100644 --- a/client/commands/list.js +++ b/client/commands/list.js @@ -22,7 +22,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["list"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription(stations) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); return msg.channel.send(embed); } }; \ No newline at end of file diff --git a/client/commands/maintenance.js b/client/commands/maintenance.js index 7bb1ad1..e311f0e 100644 --- a/client/commands/maintenance.js +++ b/client/commands/maintenance.js @@ -34,7 +34,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription(client.messages.sendedMaintenanceMessage) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); currentRadio.textChannel.send(cembed); client.radio.delete(radio.value); stoppedRadios += "-" + radio.value + ": " + currentRadio.currentGuild.guild.name + "\n"; @@ -47,7 +47,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription("Stopped all radios" + "\n" + stoppedRadios) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); return msg.channel.send(embed); } }; \ No newline at end of file diff --git a/client/commands/nowplaying.js b/client/commands/nowplaying.js index 6e23f63..bc29c45 100644 --- a/client/commands/nowplaying.js +++ b/client/commands/nowplaying.js @@ -24,7 +24,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["play"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription(message.nowplayingDescription) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); return msg.channel.send(embed); } }; \ No newline at end of file diff --git a/client/commands/statistics.js b/client/commands/statistics.js index 8445372..33f144b 100644 --- a/client/commands/statistics.js +++ b/client/commands/statistics.js @@ -33,7 +33,7 @@ module.exports = { .setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["statistics"].replace(/[^0-9]+/g, '')) .setColor(client.config.embedColor) .setDescription(statistics) - .setFooter(message.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); return msg.channel.send(embed); } }; \ No newline at end of file