From 67a6011409c52aa7e3c7b944e639eb38125f1046 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 3 Apr 2021 17:15:46 -0500 Subject: [PATCH] Fix use of avatarURL() method --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3fb6b8d..c715252 100644 --- a/index.js +++ b/index.js @@ -353,7 +353,7 @@ async function ban(message) { let verificationEmbed = new Discord.MessageEmbed() .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") .setThumbnail("https://emoji.gg/assets/emoji/9156_BanThonking.png") .setColor("fda172")