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
d.js toolkit
d.js toolkit12mo ago
- 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 staff
Aqua
AquaOP12mo ago
https://starb.in/hhOOxU.js index.js code https://starb.in/dFaabx.js deploy-command.js code
treble/luna
treble/luna12mo ago
you'll have to look at how you populate client.commands check your filepaths
Aqua
AquaOP12mo ago
sorry idk how to, i just copy everything from djs docs
treble/luna
treble/luna12mo ago
log your files before setting them
Aqua
AquaOP12mo ago
you mean i have to create folder 'commands' and ping.js file first and after that setup the main files?
treble/luna
treble/luna12mo ago
..no
d.js docs
d.js docs12mo ago
mdn 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.
Aqua
AquaOP12mo ago
fp sry
treble/luna
treble/luna12mo ago
but i assume you already have that folder and if you dont how would you expect it to find it if it doesnt exist
Aqua
AquaOP12mo ago
yea i already have it so? i suspect the main problem could be from index.js or from deploy-command.js
treble/luna
treble/luna12mo ago
have you logged it? your deploy file is separate and has nothing to do with this code
Aqua
AquaOP12mo ago
wait actually how do i log it 💀 im still learning
treble/luna
treble/luna12mo ago
i would consider learning js first as djs requires a solid understanding of js, #rules 3 #resources
Aqua
AquaOP12mo ago
ah- okay
Want results from more Discord servers?
Add your server