Commands not registering to guild
I'm coding a bot template, and I want to make a folder-based command registration system (see the images below)
However, i'm having trouble with registering the commands.
My global commands don't register at all
The guild specific commands are global
5 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 OPFolder structure:
deploy file:
Ohhhh how did I miss this thanks
Will try
Also, not really discord.js, but do you know if there's a better way (more optimized) to do what im trying to do?
;-; it's just a fun project for myself to learn... but thanks ig...