Interaction already submitted
Greetings, I'm following the modal tutorial on discordjs.guide, but when I added some elements, filled it out and click submit, it threw out
Error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
. The error points to the slash command file which, line 32 only has interaction.showModal()
. Here is the command's code. Any help would be greatly appreciated.6 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Hello, I don't do any defer in my command handler. Here is my index file.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It only got called once
Why do you want to execute the interaction on the builder? Do the execute on your client.on(interactionCreate). I would recommend this for you. The work with interaction.commandName
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View