Embed Reply to Interaction

BlockInteractions

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

Allow Mentions

Choose which mention types should notify users. Empty or None disables all pings. None overrides other selections. Unselected mentions are displayed without pinging.

OptionsNoneEveryone/HereRolesUsers
Update Original Message

For component interactions and modals opened from a component, edit the original message instead of sending a new interaction response. Ignored otherwise.

Optionstruefalse
Ephemeral

Only visible to the user who triggered the interaction. Only applies to the initial response.

Optionstruefalse
Content

Plain text shown above the embed container.

Title

Heading text shown inside the embed container.

Description

Description text shown inside the embed container.

Thumbnail Image URL

Thumbnail shown beside the embed section.

Color

Hexadecimal color code for the embed accent bar.

Example: #0099ff

Image URL

Large image shown below the embed section.

Footer Text

Small footer text shown at the bottom of the embed section.

Buttons

Up to 25 buttons. Automatically grouped into rows of 5.

Holds blocks: Button

Outputs

Message ID

ID of the sent or edited interaction response message.

Build a bot using blocks like Embed Reply to Interaction

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

ID: respond_interaction_embed_message
  • Only works in flows started by an interaction trigger (slash commands, buttons, dropdowns, modals, context menus).

Inputs

FieldInventScript nameValue
Allow Mentionsallow_mentions"None", "Everyone/Here", "Roles", "Users"
Update Original Messageupdate_original_message"true", "false"
Ephemeralephemeral"true", "false"
Contentcontent
Titletitle
Descriptiondescription
Thumbnail Image URLthumbnail_image_url
Colorcolore.g. "#0099ff"
Image URLimage_url
Footer Textfooter_text
Buttonsbuttonsblocks: func() { ... } with only advmsgcmp_interaction_button* blocks

Outputs

FieldInventScript nameValue
Message IDmessage_id

Example InventScript

interactionEmbedMessage := respond_interaction_embed_message(Args{color: "#0099ff"})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Message ID: " + interactionEmbedMessage.message_id,
})

More interactions blocks