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 toolkit11mo 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
Danial11mo ago
It's <ModalSubmitInteraction>.fields.getTextInputValue("input_id"), show the error and your code
NoRushJustChat
NoRushJustChatOP11mo ago
No description
No description
NoRushJustChat
NoRushJustChatOP11mo ago
my code and error
Danial
Danial11mo ago
It's fields, not field
NoRushJustChat
NoRushJustChatOP11mo ago
ill try
NoRushJustChat
NoRushJustChatOP11mo ago
same error
No description
No description
treble/luna
treble/luna11mo ago
lowercase Js is case sensitive
NoRushJustChat
NoRushJustChatOP11mo ago
wait the g is upcase ?
Danial
Danial11mo ago
No
NoRushJustChat
NoRushJustChatOP11mo ago
just changed to ModalSubmitInteraction
No description
NoRushJustChat
NoRushJustChatOP11mo ago
and same error :/
Danial
Danial11mo ago
Why did you do that, that wasn't the issue Change it back to modalInteraction
NoRushJustChat
NoRushJustChatOP11mo ago
k you found ?
treble/luna
treble/luna11mo ago
found what?
NoRushJustChat
NoRushJustChatOP11mo ago
what,s the error
treble/luna
treble/luna11mo ago
.
Want results from more Discord servers?
Add your server