Application didnt respond/No command matching was found
my slash cmd didnt reply and in the terminal, it says "No command matching ping was found."
15 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 staffyou'll have to look at how you populate client.commands
check your filepaths
sorry idk how to, i just copy everything from djs docs
log your files
before setting them
you mean i have to create folder 'commands' and ping.js file first and after that setup the main files?
..no
console: log() static method
The console.log() static method outputs a message to the console. The message may be a single string (with optional substitution values), or it may be any one or more JavaScript objects.
sry
but i assume you already have that folder
and if you dont how would you expect it to find it if it doesnt exist
yea i already have it
so? i suspect the main problem could be from index.js
or from deploy-command.js
have you logged it?
your deploy file is separate and has nothing to do with this code
wait actually how do i log it 💀 im still learning
i would consider learning js first as djs requires a solid understanding of js, #rules 3 #resources
ah- okay