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
d.js toolkit
d.js toolkit13mo 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! - Marked as resolved by OP
Danial
Danial13mo ago
It's <ModalSubmitInteraction>.fields.getTextInputValue("input_id"), show the error and your code
NoRushJustChat
NoRushJustChatOP13mo ago
No description
No description
NoRushJustChat
NoRushJustChatOP13mo ago
my code and error
Danial
Danial13mo ago
It's fields, not field
NoRushJustChat
NoRushJustChatOP13mo ago
ill try
NoRushJustChat
NoRushJustChatOP13mo ago
same error
No description
No description
treble/luna
treble/luna13mo ago
lowercase Js is case sensitive
NoRushJustChat
NoRushJustChatOP13mo ago
wait the g is upcase ?
Danial
Danial13mo ago
No
NoRushJustChat
NoRushJustChatOP13mo ago
just changed to ModalSubmitInteraction
No description
NoRushJustChat
NoRushJustChatOP13mo ago
and same error :/
Danial
Danial13mo ago
Why did you do that, that wasn't the issue Change it back to modalInteraction
NoRushJustChat
NoRushJustChatOP13mo ago
k you found ?
treble/luna
treble/luna13mo ago
found what?
NoRushJustChat
NoRushJustChatOP13mo ago
what,s the error
treble/luna
treble/luna13mo ago
.

Did you find this page helpful?