forked from Supositware/Haha-Yes
If the quoted message contain an image shows it
This commit is contained in:
parent
4b4b31d80d
commit
016068d8da
1 changed files with 2 additions and 0 deletions
|
@ -267,6 +267,8 @@ class messageListener extends Listener {
|
|||
.setTimestamp();
|
||||
|
||||
if (guild.id != message.guild.id) Embed.addField('In guild', guild.name, true);
|
||||
let Attachment = (quote.attachments).array();
|
||||
if (Attachment[0]) Embed.setImage(Attachment[0].url);
|
||||
|
||||
message.delete();
|
||||
return message.channel.send(Embed);
|
||||
|
|
Loading…
Reference in a new issue