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
image.png
image.png
image.png
image.png
Imagine a guide... that explores the many possibilities for your discord.js bot.
Was this page helpful?