DiscordAPIError[10062]: Unknown interaction
Hello guys,
I just updated to v14 version and I'm trying to do a store command using buttons
My problem is that when 2 commands with buttons and collectors are executed, it throws an error
Here is the error:
discord.js: ^14.11.0
Parts of my code below:13 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.What is shop.js line 84?
the name of the command
as I said I'm doing a store
…. I’m attempting to figure out where the error is coming from. If you could direct me to line 84 of that file and show it here that would be appreciated.
I'm sorry for being late
@specialsauce Sorry my english is not the best, I didn't understand it well before
if i remove
button.deferUpdate();
the problem stops, but without deferUpgrade the buttons are horrible to useFrom what I understood the collector was collecting all messages with buttons in the text channel, generating an error
I solved my problem by creating a filter to filter the id of the message sent by the bot, simple as that: