From bf0e0aaf03b80cd0f127a1ae54b194c03aece423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 28 Mar 2020 02:01:12 +0200 Subject: [PATCH] Changed RadioX & EximiaBots-logos to come from emoji library --- commands/bug.js | 4 ++-- commands/help.js | 8 ++++---- commands/invite.js | 3 +-- commands/list.js | 2 +- commands/nowplaying.js | 2 +- struct/emojis.js | 4 ++++ 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/commands/bug.js b/commands/bug.js index 15ea43f..5296440 100644 --- a/commands/bug.js +++ b/commands/bug.js @@ -14,10 +14,10 @@ module.exports = { const embed = new Discord.MessageEmbed() .setTitle(message.bugTitle) - .setThumbnail("https://cdn.discordapp.com/emojis/686296221433725076.png") + .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/687022937978568760.png'); + .setFooter('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); msg.channel.send(embed); }, diff --git a/commands/help.js b/commands/help.js index da68045..999e13e 100644 --- a/commands/help.js +++ b/commands/help.js @@ -20,10 +20,10 @@ module.exports = { const embed = new Discord.MessageEmbed() .setTitle(message.helpCommandTitle) - .setThumbnail("https://cdn.discordapp.com/emojis/686296221433725076.png") + .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/687022937978568760.png'); + .setFooter('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); msg.channel.send(embed); } else { const categories = []; @@ -41,10 +41,10 @@ module.exports = { const embed = new Discord.MessageEmbed() .setTitle(message.helpTitle) - .setThumbnail("https://cdn.discordapp.com/emojis/686296221433725076.png") + .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/687022937978568760.png'); + .setFooter('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); msg.channel.send(embed); } } diff --git a/commands/invite.js b/commands/invite.js index df8fb02..ac4a21e 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -10,10 +10,9 @@ module.exports = { message.inviteTitle = client.messages.inviteTitle.replace("%client.user.username%", client.user.username); const embed = new Discord.MessageEmbed() .setTitle(message.inviteTitle) - .setThumbnail("https://cdn.discordapp.com/emojis/686296221433725076.png") .setColor(client.config.embedColor) .setURL(client.config.invite) - .setFooter('EximiaBots by Warén Media', 'https://cdn.discordapp.com/emojis/687022937978568760.png'); + .setFooter('EximiaBots by Warén Media', "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/commands/list.js b/commands/list.js index 0b22191..84daeb5 100644 --- a/commands/list.js +++ b/commands/list.js @@ -17,7 +17,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/687022937978568760.png'); + .setFooter('EximiaBots by Warén Media', "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/commands/nowplaying.js b/commands/nowplaying.js index edf7657..dd28240 100644 --- a/commands/nowplaying.js +++ b/commands/nowplaying.js @@ -20,7 +20,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/687022937978568760.png'); + .setFooter('EximiaBots by Warén Media', "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); return msg.channel.send(embed); } }; diff --git a/struct/emojis.js b/struct/emojis.js index 3018e73..adae066 100644 --- a/struct/emojis.js +++ b/struct/emojis.js @@ -2,6 +2,8 @@ module.exports = { name: 'emojis', async execute(client) { let customEmojis = { + logo: "<:RadioX:688765708808487072>", + eximiabots: "<:EximiaBots:693277919929303132>", list: "<:RadioXList:688541155519889482>", play: "<:RadioXPlay:688541155712827458>", stop: "<:RadioXStop:688541155377414168>", @@ -9,6 +11,8 @@ module.exports = { }; let fallbackEmojis = { + logo: "RadioX", + eximiabots: "EximiaBots", list: "📜", play: "▶️", stop: "⏹️",