ModalSubmission
An interaction created by someone submitting a modal.
Parameters
Parameter | Type | Default | Required | Description |
---|---|---|---|---|
id | String | none | ✅ | Custom ID of the submitted modal |
Methods
run()
Runs when the modal is submitted.
Parameter | Type | Description |
---|---|---|
interaction | ModalSubmitInteraction | The interaction created by this modal submission |