Slash commands not working
So I have registered my / commands and when I type them, I have a console log to show that it has received the interaction and which one was executed, but it doesn't actually execute the commands.
This is my interactionCreate handler
and this is my event handler
4 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!The command I am trying to do is user, and this is my user.js command
My discord.js version is
[email protected]
and my node version is v20.18.0
I just get The application did not respond
in discord when I type the commandbecause you return all slash commands interactions
Oh yeah, stupid mistake!