modalInteraction.field.getTextInputValue('Name');
is this function to get the value of amodel got retired and if yes by what and if no Iv got error who tells it not defined so tell me how to define it
17 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 OPIt's <ModalSubmitInteraction>.fields.getTextInputValue("input_id"), show the error and your code
my code and error
It's fields, not field
ill try
same error
lowercase
Js is case sensitive
wait
the g is upcase ?
No
just changed to ModalSubmitInteraction
and same error :/
Why did you do that, that wasn't the issue
Change it back to modalInteraction
k
you found ?
found what?
what,s the error
.