From 68dcc1875c2be27c315c2f8f39bc0884083847f5 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 5 Mar 2020 22:26:53 +0100 Subject: [PATCH] Set quoted message as timestamp --- event/listeners/message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/listeners/message.js b/event/listeners/message.js index 58fa9a2..2b3b3c8 100644 --- a/event/listeners/message.js +++ b/event/listeners/message.js @@ -264,7 +264,7 @@ class messageListener extends Listener { .addField('In channel', quote.channel, true) .addField('Quoted by', message.author, true) .setDescription(quote.content) - .setTimestamp(); + .setTimestamp(quote.createdTimestamp); if (guild.id != message.guild.id) Embed.addField('In guild', guild.name, true); let Attachment = (quote.attachments).array();