add missing params
This commit is contained in:
parent
87aed21868
commit
9869a602af
|
@ -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] || ''),
|
||||
},
|
||||
|
|
|
@ -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] || ''),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue