fix embeds

This commit is contained in:
Isaac 2022-10-11 18:49:39 +01:00
parent 2bb9873be8
commit 54506cf422
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -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,