i have problems with the slash command
im new with the bots and been following the guide and everything, been trying to make the slash command, but is not working not even showing the option to use it
here's the code screenshoot

5 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!you don't seem to have followed the guide given you don't have a deploy commands script
Oh , damn
Finish the whole guide then try and debug. Slash commands are actually 3 different things.
1. The data sent to discord (SlashCommandBuilder)
2. The actual code that runs (the
async execute(interaction)
)
3. An interaction handler to point the interaction to your specific command file
If any of the 3 aren't working, then your command won't workdoing the command builder