Browse Source

Use member.user.tag instead of message.author.tag

master
Abheek Dhawan 4 years ago
parent
commit
3b9ffd9a92
  1. 2
      index.js

2
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")

Loading…
Cancel
Save