Browse Source

Fix use of avatarURL() method

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

2
index.js

@ -353,7 +353,7 @@ async function ban(message) {
let verificationEmbed = new Discord.MessageEmbed() let verificationEmbed = new Discord.MessageEmbed()
.setTitle(`Are you sure you would like to ban \`${member.user.tag}\`?`) .setTitle(`Are you sure you would like to ban \`${member.user.tag}\`?`)
.setAuthor(member.user.tag, member.user.avatarURL) .setAuthor(member.user.tag, member.user.avatarURL())
.setDescription("React to this message to verify") .setDescription("React to this message to verify")
.setThumbnail("https://emoji.gg/assets/emoji/9156_BanThonking.png") .setThumbnail("https://emoji.gg/assets/emoji/9156_BanThonking.png")
.setColor("fda172") .setColor("fda172")

Loading…
Cancel
Save