From 54506cf422d4c644a41de1242effcaa554186380 Mon Sep 17 00:00:00 2001 From: Isaac Date: Tue, 11 Oct 2022 18:49:39 +0100 Subject: [PATCH] fix embeds --- src/lib/tickets/archiver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/tickets/archiver.js b/src/lib/tickets/archiver.js index eaad1c8..80014d8 100644 --- a/src/lib/tickets/archiver.js +++ b/src/lib/tickets/archiver.js @@ -110,7 +110,7 @@ module.exports = class TicketArchiver { attachments: [...message.attachments.values()], components: [...message.components.values()], content: message.content, - embeds: message.embeds.map(embed => ({ embed })), + embeds: message.embeds.map(embed => ({ ...embed })), }), ), createdAt: message.createdAt,