Discord.JS IntelliSense isn't working for my slash command. Any advice?
Everything works, I simply just don't get the IntelliSense, my imports seem correct, but I can't seem to figure out what is going on. Here is my code. Specifically I am trying to get the IntelliSense for
interaction
:
4 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!Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
discord.js includes multiple sub-packages, installing these separately can mess with internal code:
I ended up using JSDocs and added this: