🗣️ reply to interaction with modal titled (title) with fields (fields) do (do)
In Discord → Interactions → Modals
Send a modal to the user in response to an interaction.
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
title | String | ✓ | The title of the modal. |
fields | Array OR modal_field | ✓ | The fields to add to the modal. |
do | statements… | ✓ | The statements to run when the modal is submitted. These statements are never guaranteed to run; Discord does not notify bots when modals are closed without submitting. |
Output
void - This is a statement with no outputs