#DiscordAPIError Interaction has already been acknowledged.
12 messages · Page 1 of 1 (latest)
And where do you add that interactionCreate event listener?
Outside of any other events? And is it the only interactionCreate listener you have?
no
i have multiple
but if i do like channel.send it works only interaction.reply doesnt work
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
bc i use the custom id to put a user id trough
So you‘ll never use buttons anywhere else for anything else?
i do use them where else but not in my index.js i made some extra handler for it
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