From 3b9ffd9a92c6b079f55c8b4a7dd4eb1fbedb495b Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 22:04:17 -0500 Subject: [PATCH] Use member.user.tag instead of message.author.tag --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cb20877..bac5aa1 100644 --- a/index.js +++ b/index.js @@ -167,7 +167,7 @@ async function addRole(message) { } const verificationEmbed = new Discord.MessageEmbed() - .setTitle(`Are you sure you want to give \`${message.author.tag}\` the **${role.name}** role?`) + .setTitle(`Are you sure you want to give \`${member.user.tag}\` the **${role.name}** role?`) .setDescription("React to this message to verify") .setThumbnail(member.user.avatarURL()) .setColor("fda172")