From d8877229f26a618dd65f4135c732b7a014a914dc Mon Sep 17 00:00:00 2001 From: supositware Date: Mon, 20 Jun 2022 17:57:10 +0200 Subject: [PATCH] Fix iconURL --- commands/utility/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/utility/download.js b/commands/utility/download.js index 8592e18..3a3845b 100644 --- a/commands/utility/download.js +++ b/commands/utility/download.js @@ -92,7 +92,7 @@ async function download(url, interaction) { let format = 'bestvideo*+bestaudio/best'; const Embed = new MessageEmbed() .setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY') - .setAuthor({ name: `Downloaded by ${interaction.user.tag}`, iconurl: interaction.user.avatarURL(), url: url }) + .setAuthor({ name: `Downloaded by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL(), url: url }) .setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.user.tag}" message!` }); if (interaction.customId === 'downloadQuality') {