Slash commands not getting registered.
I've followed the application, but the slash's commands arent getting registered. dont know why.
16 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!
- ✅
Marked as resolved by OPdeploy-commands.js
any error?
Unfortunately no
send a screenshot of the console when you did this
My main:
i meant the deploy commands
the console's apperantly aren't getting readed
like the archive arent getting readed
but i dont know why
wdym "aren't getting readed"?
nothing happens.
its like the code doesn't arrive in the deploy-commands.js
Are you calling the file in your main.js file (or anywhere else)?
here's my main.js:
here's the source:
https://discordjs.guide/creating-your-bot/event-handling.html#individual-event-files
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
i have to add something i'm missing?
i'm dumb, i've found the awnser
sorry