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,
})
Inputs
ID of channel to send message to.
If you wish to edit a message instead of sending a new message, provide a 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.
Choose which mention types should notify users. Empty or None disables all pings. None overrides other selections. Unselected mentions are displayed without pinging.
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. They are automatically grouped into action rows.
Holds blocks: Button
Outputs
ID of the sent or edited 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
send_embed_messageInputs
| Field | InventScript name | Value |
|---|---|---|
| Channel ID | channel_id | |
| Edit Message ID | edit_message_id | |
| Reply To Message ID | reply_to_message_id | |
| Allow Mentions | allow_mentions | "None", "Everyone/Here", "Roles", "Users" |
| 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 |