unknown interaction
Hi guys, I have such a problem, I'm outputting information from the Overwatch 2 game according to the data entered through the modal window, such an error pops up, and it pops out randomly. Maybe someone knows the solution to the problem
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.you took too long to reply
Common causes of
DiscordAPIError[10062]: Unknown interaction
:
• Initial response took more than 3 seconds ➞ defer the response *.
• Wrong interaction object inside a collector.
* Note: you cannot defer modal or autocomplete value responsesThere is a problem here, I use esm and don't understand how to import wait
why are you importing wait
How do I use without importing?😅
This is if you don't import
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I don't understand how to import wait😅
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Option 2 is this done in one line?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I understand, thx <:love_Dva:1044602790703538266>