diff --git a/src/lib/genericEmbedPagination.ts b/src/lib/genericEmbedPagination.ts index 0b2236f1..e1024331 100644 --- a/src/lib/genericEmbedPagination.ts +++ b/src/lib/genericEmbedPagination.ts @@ -51,7 +51,7 @@ export async function createPaginatedEmbedHandler(initialInteraction: CommandInt function handleEmbedExpire() { const embed = embeds[currentPage]; - initialInteraction.editReply({ embeds: [embed.setFooter({ text: `${embed.data.footer ? `${embed.data.footer.text} - ` : ''} This embed has expired.` })], components: [] }); + initialInteraction.editReply({ embeds: [embed.setFooter({ text: `${embed.data.footer ? `${embed.data.footer.text} - ` : ''}This embed has expired.` })], components: [] }); } function setButtonDisabledStates() { diff --git a/src/lib/infractionEmbedPagination.ts b/src/lib/infractionEmbedPagination.ts index 71978ec2..a5150526 100644 --- a/src/lib/infractionEmbedPagination.ts +++ b/src/lib/infractionEmbedPagination.ts @@ -85,6 +85,6 @@ export async function createPaginatedInfractionEmbedHandler(initialInteraction: function handleEmbedExpire() { const embed = embeds[currentPage]; - initialInteraction.editReply({ embeds: [embed.setFooter({ text: `${embed.data.footer ? `${embed.data.footer.text} - ` : ''} This embed has expired.` })], components: [] }); + initialInteraction.editReply({ embeds: [embed.setFooter({ text: `${embed.data.footer ? `${embed.data.footer.text} - ` : ''}This embed has expired.` })], components: [] }); } }