Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
fix profile card custom color (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
iwa authored Jun 11, 2020
1 parent 9bad63e commit bbc3e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/profile/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async function profileImg(bot: Client, msg: Message, db: Db, id: string) {
colors.set('#81d14d', '#a7ea7b');
colors.set('#f5bc31', '#f4da9b');

let userColor = msg.member.displayHexColor, firstColor, secondColor;
let userColor = member.displayHexColor, firstColor, secondColor;
if (id == process.env.QUMU || id == bot.user.id || member.roles.cache.find(val => val.id == process.env.MODROLE)) {
firstColor = '#90B1FF'; secondColor = '#F0A6E4';
} else {
Expand Down

0 comments on commit bbc3e89

Please sign in to comment.