Help width interactions
Hello I have this code in slash conmmand, when I try to interact outside the if works perfectly but if y try into the if give me an error:
Code:
6 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Please use that instead of adding another event listener.
-
DiscordAPIError: Interaction has already been acknowledged
- [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
You have already replied to the interaction.
- Use <Interaction>.followUp()
to send a new message
- If you deferred reply it's better to use <Interaction>.editReply()
- Responding to slash commands / buttons / select menusalso this
ok now i have this
but when the editReply "await Embeds.EditEmbed(interac, DataOrder); " and "await menuSelect.createMenuSelect(interac,"Platform");" they duplicate te embed and the menu select
like a follow up