Browse Source

Use role.name instead of role

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

2
index.js

@ -303,7 +303,7 @@ async function roleRequest(message) {
} }
const verificationEmbed = new Discord.MessageEmbed() const verificationEmbed = new Discord.MessageEmbed()
.setTitle(`\`${message.author.tag}\` would like the **${role}** role. Are they worthy?`) .setTitle(`\`${message.author.tag}\` would like the **${role.name}** role. Are they worthy?`)
.setDescription("React to this message to verify") .setDescription("React to this message to verify")
.setThumbnail(message.author.avatarURL()) .setThumbnail(message.author.avatarURL())
.setColor("fda172") .setColor("fda172")

Loading…
Cancel
Save