forked from Supositware/Haha-Yes
Actually update the look of embed
This commit is contained in:
parent
0905ab5924
commit
931221f446
1 changed files with 4 additions and 3 deletions
|
@ -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>');
|
||||||
|
|
Loading…
Reference in a new issue