mirror of
https://github.com/Burn-E99/GroupUp.git
synced 2026-06-04 00:43:49 -04:00
add missing params
This commit is contained in:
@@ -31,7 +31,7 @@ const execute = async (bot: Bot, interaction: Interaction) => {
|
|||||||
type: InteractionResponseTypes.ChannelMessageWithSource,
|
type: InteractionResponseTypes.ChannelMessageWithSource,
|
||||||
data: {
|
data: {
|
||||||
flags: ApplicationCommandFlags.Ephemeral,
|
flags: ApplicationCommandFlags.Ephemeral,
|
||||||
content: applyEditMessage(new Date().getTime()),
|
content: applyEditMessage(new Date().getTime(), ''),
|
||||||
embeds: [eventMessage.embeds[0]],
|
embeds: [eventMessage.embeds[0]],
|
||||||
components: applyEditButtons(interaction.data.customId.split(idSeparator)[1] || ''),
|
components: applyEditButtons(interaction.data.customId.split(idSeparator)[1] || ''),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ const execute = async (bot: Bot, interaction: Interaction) => {
|
|||||||
type: InteractionResponseTypes.ChannelMessageWithSource,
|
type: InteractionResponseTypes.ChannelMessageWithSource,
|
||||||
data: {
|
data: {
|
||||||
flags: ApplicationCommandFlags.Ephemeral,
|
flags: ApplicationCommandFlags.Ephemeral,
|
||||||
content: applyEditMessage(new Date().getTime()),
|
content: applyEditMessage(new Date().getTime(), ''),
|
||||||
embeds: [eventMessage.embeds[0]],
|
embeds: [eventMessage.embeds[0]],
|
||||||
components: applyEditButtons(interaction.data.customId.replaceAll(fillerChar, '').split(idSeparator)[1] || ''),
|
components: applyEditButtons(interaction.data.customId.replaceAll(fillerChar, '').split(idSeparator)[1] || ''),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user