From 6fcd5e8d874c464a6b1e53f2087f321744755347 Mon Sep 17 00:00:00 2001 From: supositware Date: Fri, 17 Jun 2022 12:50:19 +0200 Subject: [PATCH] fixed embed --- 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 5d4048d..5ff8d54 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({ text: `Downloaded by ${interaction.member.displayName}`, iconURL: interaction.member.displayAvatarURL(), url: url }) + .setAuthor({ name: `Downloaded by ${interaction.member.displayName}`, iconURL: interaction.member.displayAvatarURL(), url: url }) .setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.member.displayName}" message!` }); if (interaction.customId === 'downloadQuality') {