Autocomplete Unknown Interaction
Whenever I paste a url into my autocomplete command I get Unknown Interaction, even though the command still runs.
error:
25 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 OPAutocomplete code:
music code:
use
interaction.reply()
in place of interaction.respond()
in the autoCompleteUnknown User•4d ago
Message Not Public
Sign In & Join Server To View
interaction.respond()
is also an issue though? Maybe not the only one, as that method doesn't existUnknown User•4d ago
Message Not Public
Sign In & Join Server To View
oh, my apologies for that. Though, if it were the app timing out, you would get an ephemeral response indicating so?
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
discord-player
understood. I haven't experimented with autocomplete yet and didn't realize it behaved a bit differently before chiming in 😞
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
yeah
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
Okay thanks
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
basically, responding before the searching and filtering that would be causing the app to timeout?
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
makes sense
Could this be related to https://discord.com/channels/222078108977594368/1330202422445867041
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
Similar
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
Oops
Nvm
Maybe I should have read the thing 😭😭
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
I think this is the actual answer to my question, I timed the autocomplete interaction and its taking up to 9 seconds to complete, im guessing my internet is the problem then