diff --git a/commands/help.js b/commands/help.js index 17ab602e..0521312d 100644 --- a/commands/help.js +++ b/commands/help.js @@ -45,6 +45,7 @@ module.exports = { type: 'system', execute(message, args) { const helpCard = new Discord.MessageEmbed() + .setColor(color.primary) .setTitle('Commands') .setDescription(`\`${prefix}help {command}\` for more info on a specific command`) .setFooter(`${name} Help`) diff --git a/commands/invite.js b/commands/invite.js index 7ff7c989..d03916f0 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -1,4 +1,4 @@ -const { name, invite } = require('../config.json') +const { name, invite, color } = require('../config.json') const Discord = require('discord.js') module.exports = { @@ -12,6 +12,7 @@ module.exports = { .attachFiles([ new Discord.MessageAttachment('./images/logo.png', 'logo.png') ]) + .setColor(color.primary) .setAuthor(`${name}`, 'attachment://logo.png') .setDescription(`Hey <@${message.author.id}> you can invite me by clicking on the following link\n${invite}`) .setFooter(`${name} Invite`)) diff --git a/commands/link.js b/commands/link.js index 3b56652e..b15f65ec 100644 --- a/commands/link.js +++ b/commands/link.js @@ -15,6 +15,7 @@ const sendCardWithInfos = async (message, steamParam) => { await User.exists(discordId) ? await User.update(discordId, steamId) : User.create(discordId, steamId) message.channel.send(new Discord.MessageEmbed() + .setColor(color.primary) .setDescription(`Your account has been linked to ${playerDatas.nickname}`)) } catch (error) { diff --git a/config.json b/config.json index 7fe932a3..11ace0bb 100644 --- a/config.json +++ b/config.json @@ -3,6 +3,7 @@ "prefix": ".ff", "invite": "https://discord.com/oauth2/authorize?client_id=838088031222235197&permissions=0&redirect_uri=https%3A%2F%2Fdiscordapp.com%2Fapi%2Foauth2%2Fauthorize&scope=bot", "color": { + "primary": "#14578c", "levels": [ "#eeeeee", "#1ce300",