Actually update the look of embed

This commit is contained in:
loicbersier 2019-11-09 15:00:02 +01:00
parent 0905ab5924
commit 931221f446

View file

@ -53,9 +53,10 @@ class DownloadCommand extends Command {
const Embed = new MessageEmbed() const Embed = new MessageEmbed()
.setColor(message.member.displayHexColor) .setColor(message.member.displayHexColor)
.setTitle(`Downloaded by ${message.author.username}`) .setAuthor(`Downloaded by ${message.author.username}`, message.author.displayAvatarURL(), link)
.setURL(link) .setDescription(args.caption)
.setDescription(args.caption); .setFooter('You can get the original video by clicking on the "downloaded by" message!');
if (link.includes('http') || link.includes('www')) { if (link.includes('http') || link.includes('www')) {
let loadingmsg = await message.channel.send('Downloading <a:loadingmin:527579785212329984>'); let loadingmsg = await message.channel.send('Downloading <a:loadingmin:527579785212329984>');