REALLY fix command in dm

This commit is contained in:
supositware 2022-06-20 07:59:23 +02:00
parent 467471362d
commit 73a8c6653c
2 changed files with 2 additions and 2 deletions

View file

@ -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') {

View file

@ -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);