From 73a8c6653c77494a7cb140315bfbb3cbcff19df9 Mon Sep 17 00:00:00 2001 From: supositware Date: Mon, 20 Jun 2022 07:59:23 +0200 Subject: [PATCH] REALLY fix command in dm --- commands/utility/download.js | 2 +- commands/utility/feedback.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/utility/download.js b/commands/utility/download.js index b61ed123..0230819e 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.member.avatarURL(), url: url }) + .setAuthor({ name: `Downloaded by ${interaction.user.tag}`, iconURL: interaction.user.avatarURL(), url: url }) .setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.user.tag}" message!` }); if (interaction.customId === 'downloadQuality') { diff --git a/commands/utility/feedback.js b/commands/utility/feedback.js index 7becef55..754761c7 100644 --- a/commands/utility/feedback.js +++ b/commands/utility/feedback.js @@ -13,7 +13,7 @@ export default { .setRequired(true)), async execute(interaction) { const Embed = new MessageEmbed() - .setAuthor({ name: `${interaction.user.tag} (${interaction.user.id})`, iconURL: interaction.member.displayAvatarURL() }) + .setAuthor({ name: `${interaction.user.tag} (${interaction.user.id})`, iconURL: interaction.user.avatarURL() }) .setTimestamp(); if (interaction.guild) Embed.addField('Guild', `${interaction.guild.name} (${interaction.guild.id})`, true);