Why does it just say "application didn't respond"?
and it just says
No command matching ban was found.
in the console.12 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!where do you register internally that ban command file
not in djs but where do you save it on client.commands
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Okay, but I don't really understand. Here it says to put the script in index.js
but here it says to put it in
deploy-commands.js
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
I probably just misunderstood it
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
you are deploying your commands on discord but you aren't storing them in your bot process
so when your bot receives a command, your internal command map is empty
oh, now it works, thanks :D