So, i tried to repeat the Registering slash commands page from djs guide website
(https://discordjs.guide/creating-your-bot/command-deployment.html#command-registration) But something went wrong, i did all the pages before,created a file with my command, put it in a folder, that was created in my project, even did a subfolder, but i cant get rid of that annoying error
My code (deploy-commands.js)
My command (ping.js)
My error
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.well, it is
it writed with little characters
a
wow, it worked
thank you so much )
have a nice day