From adebde31bd330b9338c5c3ad0a0f218fc4262389 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 6 Jul 2020 03:45:36 -0400 Subject: [PATCH] fixes to rank cmd --- src/commands/rank.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/rank.ts b/src/commands/rank.ts index 4150428..a66a594 100644 --- a/src/commands/rank.ts +++ b/src/commands/rank.ts @@ -34,7 +34,7 @@ export default class Rank extends Command { if (message.member.roles.includes(rank.roleID)) hasRank = true; embed.addField(rank.name, `${hasRank ? '*You have this role.*' : ''}__Description:__ ${rank.description}\n__Permissions:__ ${perms}`); } - embed.setFooter(`Requested by: ${message.author.username}#${message.author.discriminator} | ${this.client.user.username}`, message.author.username); + embed.setFooter(`Requested by: ${message.author.username}#${message.author.discriminator} | ${this.client.user.username}`, message.author.avatarURL); embed.setTimestamp(); return message.channel.createMessage({ embed }); }