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?
No description
14 Replies
d.js toolkit
d.js toolkit9mo 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!
Syjalo
Syjalo9mo ago
You have a typo in Guild And don't stringify your error. Put it in separate parameter or in another console.log
Jordan
JordanOP9mo ago
i did
Jordan
JordanOP9mo ago
No description
Jordan
JordanOP9mo ago
like this right
Syjalo
Syjalo9mo ago
You put it inside the string, you shouldn't do that
Jordan
JordanOP9mo ago
oh
Syjalo
Syjalo9mo ago
Or use inspect function from node:utils to make it show alll the info of the error
Jordan
JordanOP9mo ago
where do i put this?
Syjalo
Syjalo9mo ago
^
Jordan
JordanOP9mo ago
so make another console.log and put that?
Syjalo
Syjalo9mo ago
No description
No description
No description
No description
Jordan
JordanOP9mo ago
Do I put the import in the same file Or index?
Jordan
JordanOP9mo ago
No description

Did you find this page helpful?