Not getting autocomplete info
Hey, i'm experimenting with the latest discordjs (14.x) and I've set up my command as normal. Command is registered fine, the only thing is I don't get any info. What am I missing
10 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 staffwdym 'i dont get any info'
Also read the bullet points
here's what happens
I have
trace(interaction.isAutocomplete());
in code, but I never get any data whilst typing
in the older discordjs's this works fine
I'm not necessarily expecting any data just yet, I just expect the code to trigger the log
[email protected] node: v22.6.0I should receive an event when typing, no?
* Show your code!
what part is relevant here? I'm not using js/ts directly but my code works on older discordjs. I can narrow the code down with a bit more info
I've wrapped the lib
like i create a command via json
my old project is using
[email protected]
Your interactionCreate event
Or wherever you handle the interaction
oh... you may have helped me already
yep... thanks for the rubberducking 😄