interactionEmbedMessage := respond_interaction_embed_message(Args{color: "#0099ff"})
send_text_message(Args{
channel_id: trigger.channel_id,
message_content: "Message ID: " + interactionEmbedMessage.message_id,
})
Embed Reply to Interaction
Send an embed response to an interaction.
- Only works in flows started by an interaction: a slash command, button, dropdown, modal or context menu.
Inputs
Choose which mention types should notify users. Empty or None disables all pings. None overrides other selections. Unselected mentions are displayed without pinging.
For component interactions and modals opened from a component, edit the original message instead of sending a new interaction response. Ignored otherwise.
Only visible to the user who triggered the interaction. Only applies to the initial response.
Plain text shown above the embed container.
Heading text shown inside the embed container.
Description text shown inside the embed container.
Thumbnail shown beside the embed section.
Hexadecimal color code for the embed accent bar.
Example: #0099ff
Large image shown below the embed section.
Small footer text shown at the bottom of the embed section.
Up to 25 buttons. Automatically grouped into rows of 5.
Holds blocks: Button
Outputs
ID of the sent or edited interaction response message.
Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode. View as Markdown
respond_interaction_embed_message- Only works in flows started by an interaction trigger (slash commands, buttons, dropdowns, modals, context menus).
Inputs
| Field | InventScript name | Value |
|---|---|---|
| Allow Mentions | allow_mentions | "None", "Everyone/Here", "Roles", "Users" |
| Update Original Message | update_original_message | "true", "false" |
| Ephemeral | ephemeral | "true", "false" |
| Content | content | |
| Title | title | |
| Description | description | |
| Thumbnail Image URL | thumbnail_image_url | |
| Color | color | e.g. "#0099ff" |
| Image URL | image_url | |
| Footer Text | footer_text | |
| Buttons | buttons | blocks: func() { ... } with only advmsgcmp_interaction_button* blocks |
Outputs
| Field | InventScript name | Value |
|---|---|---|
| Message ID | message_id |