Modal interaction

dc_modal_interaction

Value from __on_discord_modal event, used for getting the modal interaction details, and then responding to it with dc_respond_interaction()

Queryable:#

Property Type Description
id String Id of the interaction
channel Channel The channel this interaction was made in.
user User The user that used the interaction.
token String The continuation token internally used for responding to this interaction
server Server The server this reaction was made in
locale String The locale of the user executing the interaction (e.g. en-US)
creation_timestamp Number The timestamp as epoc milliseconds when this interaction was made
custom_id String The custom id of the modal, as specified when creating the modal
input_values_by_id Map of string keys and string values A map where the keys are the ids of the component, and the value the values entered into them. Useful for querying the values of components by their id