I can’t get my bot to load commands
Title. I’ve followed the guide and I’m not getting any errors but still no commands
53 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!Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
I did
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Commands don’t work on my bot even after following the guide and my code is almost the exact same as it
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
They don’t show up in the command list
And my code is the same as the guide
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Yes
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
No
I don’t think it even loads that file
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
The one I just showed
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Not on startup?
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
So what do I do then
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
With what
I run my main file with nodemon but idk if it will work with that
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Ok
Yeah they still aren’t showing up
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
It does this time but doesn’t show in the client
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Discord client
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Yes
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
Yes I see it there
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
So is it my client that’s the problem
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
i see this and none of them are my bot
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
what did you mean then
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
ok
It might take a few minutes for the / commands to show up on your discord client, nothing to worry about
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
not always, the commands are registered but they dont show up on discord sometimes (they do automatically after a few minutes)
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
yeah i def dont have 50 bots in my test server, but ill try reloading again
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
ah
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
@Daizy it take a minut to lode them i figerd that out
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
oj
oh