fix: transform embed to discord form

This commit is contained in:
Skillz4Killz
2022-03-25 18:28:25 +00:00
committed by GitHub
parent 707c7c05cb
commit 7bf65ab1c1
3 changed files with 3 additions and 3 deletions
@@ -16,7 +16,7 @@ export async function editFollowupMessage(
bot.constants.endpoints.WEBHOOK_MESSAGE(bot.applicationId, interactionToken, messageId),
{
content: options.content,
embeds: options.embeds,
embeds: options.embeds?.map(embed => bot.transformers.reverse.embed(bot, embed)),
file: options.file,
allowed_mentions: options.allowedMentions
? {