diff --git a/client/commands/bug.js b/client/commands/bug.js index 5296440..c3eb210 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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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 999e13e..9bd8d43 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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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 ac4a21e..f5c8a0d 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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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 cfb4071..c8a5a92 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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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 0c4b16f..7bb1ad1 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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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 f3e8c2a..6e23f63 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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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 554d9be..8445372 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('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); + .setFooter(message.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/messages.js b/client/messages.js index 104f623..98b9fd6 100644 --- a/client/messages.js +++ b/client/messages.js @@ -34,4 +34,5 @@ module.exports = { errorToGetPlaylist: "You can't use this bot because it has no playlist available. Check more information in our Discord support server %client.config.supportGuild% !", notAllowed: "You are not allowed to do that!", sendedMaintenanceMessage: "This bot is going to be under maintenance!", + footerText: "EximiaBots by Warén Group" }; \ No newline at end of file