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
No description
5 Replies
d.js toolkit
d.js toolkit4w ago
- 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!
Amgelo
Amgelo4w ago
you don't seem to have followed the guide given you don't have a deploy commands script
Joe
JoeOP4w ago
Oh , damn
Samtino
Samtino4w ago
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 work
Joe
JoeOP4w ago
doing the command builder

Did you find this page helpful?