From 59630bb59d7adbdd2bd26061d22dea605877387d Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 16:07:55 -0500 Subject: [PATCH] Standardize embed colors for creations, deletions, and updates --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 3cfee38..df7d5ab 100644 --- a/index.js +++ b/index.js @@ -387,7 +387,7 @@ client.on('messageReactionRemove', (messageReaction, user) => { .addField("Reactions", `${userTag} removed their reaction ${emoji} in #${messageReaction.message.channel.name}.`) .setFooter("Message ID: " + messageReaction.message.id) .setTimestamp() - .setColor('00aaff'); + .setColor('e7778b'); collection.findOne({ guild_id: messageReaction.message.guild.id}, (error, result) => { if(error) { console.error; @@ -407,7 +407,7 @@ client.on('roleCreate', role => { .addField("Mentionable", role.mentionable) .setFooter("Role ID: " + role.id) .setTimestamp() - .setColor(role.color); + .setColor('00aaff'); collection.findOne({ guild_id: role.guild.id}, (error, result) => { if(error) { console.error; @@ -427,7 +427,7 @@ client.on('roleDelete', role => { .addField("Mentionable", role.mentionable) .setFooter("Role ID: " + role.id) .setTimestamp() - .setColor(role.color); + .setColor('e7778b'); collection.findOne({ guild_id: role.guild.id}, (error, result) => { if(error) { console.error; @@ -447,7 +447,7 @@ client.on('roleUpdate', (oldRole, newRole) => { .addField("Mentionable", `${oldRole.mentionable} >> ${newRole.mentionable}`) .setFooter("Role ID: " + newRole.id) .setTimestamp() - .setColor(newRole.color); + .setColor('c9ff00'); collection.findOne({ guild_id: newRole.guild.id}, (error, result) => { if(error) { console.error;