Hello, I'm having issues propagating field data from a modal into the InteractionModalSubmit event. For some reason, only the custom_id is being passed through, with none of the data from the TextInputs that I included in the modal.
Ah, it appears as though components is just excluded from all JSON encoding. Actually trying to retrieve the components from the Components array shows that they are in fact there!
Hello, I'm having issues propagating field data from a modal into the
InteractionModalSubmit
event. For some reason, only thecustom_id
is being passed through, with none of the data from theTextInput
s that I included in the modal.My modal code:
And the part of the JSON-encoded
InteractionModalSubmit
message where I would have expected the components to be included in the response:Shouldn't this include a
components
field containing the components that were submitted? Or am I looking in the wrong place?