Set quoted message as timestamp

This commit is contained in:
loicbersier 2020-03-05 22:26:53 +01:00
parent 016068d8da
commit 68dcc1875c

View file

@ -264,7 +264,7 @@ class messageListener extends Listener {
.addField('In channel', quote.channel, true) .addField('In channel', quote.channel, true)
.addField('Quoted by', message.author, true) .addField('Quoted by', message.author, true)
.setDescription(quote.content) .setDescription(quote.content)
.setTimestamp(); .setTimestamp(quote.createdTimestamp);
if (guild.id != message.guild.id) Embed.addField('In guild', guild.name, true); if (guild.id != message.guild.id) Embed.addField('In guild', guild.name, true);
let Attachment = (quote.attachments).array(); let Attachment = (quote.attachments).array();