StringSelectMenuInteraction doesn't have the `values` field?
This been driving me insane everytime I try to use
i.values
ts scream at me cus values
is not a real field. Code run fine if I just do //@ts-expect-error
to tell ts to stop screaming. Is this a bug with discord.js
or is it something im doing wrong7 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 OPdiscord didn't want to attach the other image but here
also the component construction
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
MessageComponentInteraction#isStringSelectMenu()
Indicates whether this interaction is a StringSelectMenuInteraction MessageComponentInteraction#isButton()
Indicates whether this interaction is a ButtonInteraction.
right thx
that solve my problem 👍