Error
Hello I have been trying to setup slash commands and it keeps saying
applicationGulidsCommands
isn't a function how can I stop stop this?14 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!You have a typo in
Guild
And don't stringify your error. Put it in separate parameter or in another console.log
i did
like this right
You put it inside the string, you shouldn't do that
oh
Or use
inspect
function from node:utils
to make it show alll the info of the errorwhere do i put this?
^
so make another console.log and put that?
Do I put the import in the same file
Or index?