register slash commands doesn't work
hello i used snippet from discordjs.guide for register slash commands, exactly this https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commands and after use
node deploy-commands.js
nothing shows even console.log included in async function, what i do incorrect?discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
4 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.
deploy-commands.js
you are missing the () at the end of the async function, like in the guide
a thanks would have been nice
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View