From 91a59357b792cd7456d21575f5eb2382c359ca85 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 21:25:30 -0500 Subject: [PATCH] Fix embed thumbnail --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a248da1..96c8eb8 100644 --- a/index.js +++ b/index.js @@ -305,7 +305,7 @@ async function roleRequest(message) { const verificationEmbed = new Discord.MessageEmbed() .setTitle(`\`${message.author.tag}\` would like the **${role}** role. Are they worthy?`) .setDescription("React to this message to verify") - .setThumbnail(member.user.avatarURL()) + .setThumbnail(message.author.avatarURL()) .setColor("fda172") .setTimestamp(); message.channel.send(verificationEmbed)