Send or Edit Embed Message

BlockMessages

Send or edit an embed message.

Inputs

Channel IDRequired

ID of channel to send message to.

Edit Message ID

If you wish to edit a message instead of sending a new message, provide a message ID.

Reply To Message ID

If you wish to reply to a message, provide the ID of the message you wish to reply to. This does not work with editing messages.

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
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. They are automatically grouped into action rows.

Holds blocks: Button

Outputs

Message ID

ID of the sent or edited message

Build a bot using blocks like Send or Edit Embed 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

ID: send_embed_message

Inputs

FieldInventScript nameValue
Channel IDchannel_id
Edit Message IDedit_message_id
Reply To Message IDreply_to_message_id
Allow Mentionsallow_mentions"None", "Everyone/Here", "Roles", "Users"
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

embedMessage := send_embed_message(Args{channel_id: trigger.channel_id})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Message ID: " + embedMessage.message_id,
})

More messages blocks