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

Did you find this page helpful?