Send Message
Send Message
Reply, post to a channel, or DM the user (embed optional)
Note: Capped at 3 sends per command run. Every component's key must resolve to either a button/select trigger's actionKey or a later wait_for_input.key in the same tree.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object {kind: 'reply' | 'channel' | 'dm', channelRef?, userRef?} | yes | Where to send the message. channelRef/userRef can be a literal id or resolved from a variable at runtime. |
ephemeral | boolean | no | Discord ephemeral flag. |
content | string | no | Message text; supports {variable} interpolation. |
embed | object | no | title, description, color, footer, thumbnail, image, fields[] — interpolated. |
components | array of button/select rows | no | Up to 5 rows; a row is either up to 5 buttons or exactly 1 select, never both. |
suppressNotifications | boolean | no | Suppresses push notifications for this message. |
Example
{
"id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
"type": "send",
"target": {
"kind": "reply"
},
"ephemeral": false,
"content": "Hello USER.USERNAME!"
}Updated about 14 hours ago
Did this page help you?
