Build chat bots with blocks

🗣️ value of modal field with ID (id)

In Discord → Interactions → Modals

Jump to block

Get the value of a modal field.

Requires the following blocks to be present in the project: discord login


Parameter name Parameter type Required? Description
id String The ID of the input to retrieve the value for.


String - The value of the input, or empty string if not found.