Code saying the command doesn't exist
everytime I execute the command it says:
[ERROR] command ping wasn't found
even though it was successfully registered. Here's my slash command file:
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.
- Issue solved? Press the button!And if I try printing the variable command, it returns undefined
funny enough
when printing our interaction, it has
commandName: 'ping',
in it
wait...
i was using a invaild type for my naming scheme
im kinda stupid
thx tho