interactions.options broke
Not sure if there is a better way to do this or not but after updating from v14.17.3 I'm now getting
error TS2339: Property 'options' does not exist on type 'CommandInteraction<CacheType>'. and can't find the correct type, this is my interface for the execute parameters that contains the interaction obj

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!
- ✅ Marked as resolved by OPType with that
yup worked thanks