Browse Source

Fix embed thumbnail

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

2
index.js

@ -305,7 +305,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}** role. Are they worthy?`)
.setDescription("React to this message to verify") .setDescription("React to this message to verify")
.setThumbnail(member.user.avatarURL()) .setThumbnail(message.author.avatarURL())
.setColor("fda172") .setColor("fda172")
.setTimestamp(); .setTimestamp();
message.channel.send(verificationEmbed) message.channel.send(verificationEmbed)

Loading…
Cancel
Save