diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index e16dc377..e4681e50 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -32,7 +32,7 @@ export default { .setTitle(response.data.children[i].data.title) .setDescription(response.data.children[i].data.selftext) .setURL('https://reddit.com' + response.data.children[i].data.permalink) - .setFooter(`/r/${response.data.children[i].data.subreddit} | ⬆ ${response.data.children[i].data.ups} 🗨 ${response.data.children[i].data.num_comments}`); + .setFooter({ text: `/r/${response.data.children[i].data.subreddit} | ⬆ ${response.data.children[i].data.ups} 🗨 ${response.data.children[i].data.num_comments}` }); interaction.editReply({ embeds: [redditEmbed] }); interaction.followUp(response.data.children[i].data.url); diff --git a/commands/utility/download.js b/commands/utility/download.js index 857d9d3d..5d4048d5 100644 --- a/commands/utility/download.js +++ b/commands/utility/download.js @@ -92,8 +92,8 @@ async function download(url, interaction) { let format = 'bestvideo*+bestaudio/best'; const Embed = new MessageEmbed() .setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY') - .setAuthor(`Downloaded by ${interaction.member.displayName}`, interaction.member.displayAvatarURL(), url) - .setFooter(`You can get the original video by clicking on the "Downloaded by ${interaction.member.displayName}" message!`); + .setAuthor({ text: `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') { format = interaction.values[0];