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