#DiscordAPIError Interaction has already been acknowledged.

12 messages · Page 1 of 1 (latest)

reef elbow
#

• 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.

half basin
#

And where do you add that interactionCreate event listener?

#

Outside of any other events? And is it the only interactionCreate listener you have?

teal zenith
#

i have multiple

#

but if i do like channel.send it works only interaction.reply doesnt work

half basin
#

Yes, because one of your other listeners is trying to reply to it too… you can only reply to each interaction once

#

You don’t even check the customId so it‘ll reply to any ButtonInteraction from anywhere

teal zenith
half basin
teal zenith
#

i do use them where else but not in my index.js i made some extra handler for it

half basin
#

It doesn’t matter where you register the interactionCreate event handler. Once you do it‘ll apply to all interactions your bot receives. So all of those handlers will try to reply to all buttons