I build a 'sending select menu'
But if I test my bot and choise a option the bot dosent response. What is missing? Ty for ur help and sry My expirience in programming isn't like a professional. Have mercy😂🙌🏼
33 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPUnknown User•11mo ago
Message Not Public
Sign In & Join Server To View
sec start discord on my pc
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
Message Components: Component interactions - The Client#interactionCreate event
Third and finally, you may wish to have a listener setup to respond to permanent button or select menu features of your guild. For this, returning to the Client#event:interactionCreateopen in new window event is the best approach.
read more
Ok I must create a event ok...
Sry it's my first time to programm a discord bot or crate something js but I fixed some code today
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
now i get the error unknown interaction
Common causes of
DiscordAPIError[10062]: Unknown interaction
:
- Initial response took more than 3 seconds ➞ defer the response *.
- Wrong interaction object inside a collector.
- Two processes handling the same command (the first consumes the interaction, so it won't be valid for the other instance)
* Note: you cannot defer modal or autocomplete value responsesUnknown User•11mo ago
Message Not Public
Sign In & Join Server To View
if I click the first one
what interaction type is it?
Do u have a tutorial about events?
that I can edit it for my example
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
yes put I don't understand the how this can help me
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
there are 3 possibile errors and I must find the error?
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
this ?
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
yeah I copy paste it but it doesn't work then I get the error with the unknown interaction
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
The first point isn't
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
the error
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
😅 what can I do if I don't understand ur question😅 I can explain what I understand: u send me 3 ways how to solve my problem but I read it and I can't do anything with this cause I don't know the word initial
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
to translate stuff it isn't I understand this
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
ahhhh now I can explain I don't know which part of my code I must edit normaly i try to edit this part and the sometimes it's work and sometimes not
sry for wasting ur time i read many stuff and google and try to understand how I fix a error and it's too much know I go to bed ty 🙏🏼