add missing params

This commit is contained in:
Ean Milligan 2024-05-21 04:35:13 -04:00
parent 87aed21868
commit 9869a602af
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ const execute = async (bot: Bot, interaction: Interaction) => {
type: InteractionResponseTypes.ChannelMessageWithSource,
data: {
flags: ApplicationCommandFlags.Ephemeral,
content: applyEditMessage(new Date().getTime()),
content: applyEditMessage(new Date().getTime(), ''),
embeds: [eventMessage.embeds[0]],
components: applyEditButtons(interaction.data.customId.split(idSeparator)[1] || ''),
},

View File

@ -143,7 +143,7 @@ const execute = async (bot: Bot, interaction: Interaction) => {
type: InteractionResponseTypes.ChannelMessageWithSource,
data: {
flags: ApplicationCommandFlags.Ephemeral,
content: applyEditMessage(new Date().getTime()),
content: applyEditMessage(new Date().getTime(), ''),
embeds: [eventMessage.embeds[0]],
components: applyEditButtons(interaction.data.customId.replaceAll(fillerChar, '').split(idSeparator)[1] || ''),
},