Skip to main content

Server messages

Actions in the category "Server messages".

Send message​

Sends a message to a channel.

Required permissions: View channel, Send messages.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel to send the message to.
MessageMessage contentYesContent of the message.

Outputs

NameTypeDetails
Sent messageMessageThe message that was sent.

Send paginated message​

Sends a message with prev/next buttons that page through a list of message contents. The page state is stored durably, so paging keeps working after a bot restart.

Required permissions: View channel, Send messages.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel to send the paginated message to.
PagesList of Message contentYesThe list of pages (message contents) to page through, e.g. built with Create message pages and Add message page. Max 100. Maximum items: 100.
Restrict to userUserNoBy default, only the user who triggered the flow can page through the message. Set a user here to lock paging to someone else instead. On flows with no triggering user (e.g. scheduled or automatic flows), anyone can page.
TimeoutDurationNoHow long the buttons stay active before the paginated message expires. Defaults to 24 hours; capped at 7 days. Value: 60000 to 604800000.

Outputs

NameTypeDetails
Sent messageMessageThe paginated message that was sent.

Reply to message​

Sends a message as a reply to another message.

Required permissions: View channel, Send messages, Read message history.

Inputs

NameTypeRequiredDetails
Target messageMessageYesMessage to reply to.
MessageMessage contentYesContent of the reply.
Fail if missingYes/NoYesFail the action if the target message has been deleted. Default: Yes.

Outputs

NameTypeDetails
Sent messageMessageThe reply that was sent.

Edit message​

Edits an existing message sent by the bot.

Required permissions: View channel.

Inputs

NameTypeRequiredDetails
MessageMessageYesMessage to edit.
New contentMessage contentYesNew content for the message.

Outputs

NameTypeDetails
Updated messageMessageThe message after the edit.

Delete message​

Deletes a message.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesMessage to delete.
Audit log reasonTextNoReason recorded in the audit log. Maximum length: 512 characters.

React to message​

Adds a reaction to a message.

Required permissions: Read message history, Add reactions.

Inputs

NameTypeRequiredDetails
MessageMessageYesMessage to react to.
EmojiTextYesEmoji to add. Use a unicode emoji or the format <:name:id> for a custom emoji.

Show bot as typing​

Show the bot as typing in a channel for about 10 seconds.

Required permissions: View channel.

Inputs

NameTypeRequiredDetails
ChannelChannelYesChannel in which to display the typing indicator.

Bulk delete messages​

Delete up to 100 recent messages from a text channel in a single API call. Messages older than 14 days cannot be bulk deleted.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel to clear messages from.
CountWhole numberNoNumber of recent messages to delete (2-100). Value: 2 to 100. Use only one of these: Messages.
MessagesList of MessageNoSpecific messages to delete (1-100). Items: 1 to 100. Use only one of these: Count.
Filter Old MessagesYes/NoNoSkip messages older than 14 days instead of erroring. Default: Yes.

Outputs

NameTypeDetails
Deleted CountWhole numberNumber of messages that were actually deleted.

Fetch channel messages​

Retrieve messages from a text-like channel. Use only one of before/after/around.

Required permissions: View channel, Read message history.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel to read messages from.
LimitWhole numberNoHow many messages to fetch (1-100). Value: 1 to 100. Default: 50.
BeforeMessageNoFetch messages older than this message. Use only one of these: After, Around.
AfterMessageNoFetch messages newer than this message. Use only one of these: Before, Around.
AroundMessageNoFetch messages around this message. Use only one of these: Before, After.

Outputs

NameTypeDetails
MessagesList of MessageThe fetched messages.

Fetch message by ID​

Look up a single message in a channel by its ID. Returns an empty value if the message does not exist.

Required permissions: View channel, Read message history.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel that owns the message.
Message IDDiscord IDYesID of the message to fetch.
Force RefreshYes/NoNoBypass the cache and request fresh data from Discord. Default: No.

Outputs

NameTypeDetails
MessageMessageThe fetched message, or empty if not found. May be empty.

Fetch pinned messages​

Retrieve all pinned messages in a channel.

Required permissions: View channel, Read message history.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel to inspect.

Outputs

NameTypeDetails
MessagesList of MessageAll currently pinned messages.

Pin message​

Pins a message in its channel so it appears in the pinned-messages list.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message to pin.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
MessageMessageThe pinned message.

Unpin message​

Removes a message from its channel's pinned-messages list.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message to unpin.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
MessageMessageThe unpinned message.

Crosspost message​

Publishes a message from an announcement channel to all servers that follow it.

Required permissions: Send messages, Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe announcement-channel message to crosspost.

Outputs

NameTypeDetails
MessageMessageThe crossposted message.

Suppress embeds on message​

Hides or restores embeds on an existing message without deleting it.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message whose embeds should be toggled.
SuppressYes/NoNoIf true, hides embeds; if false, makes them visible again. Default: Yes.

Outputs

NameTypeDetails
MessageMessageThe updated message.

Forward message​

Forwards an existing message into another channel using Discord's native forward feature.

Required permissions: Send messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message to forward.
Target ChannelServer channelYesThe channel that will receive the forwarded message.

Outputs

NameTypeDetails
Forwarded MessageMessageThe newly created forwarded message.

Fetch message reference​

Returns the message that another message replied to or referenced, if any.

Required permissions: Read message history.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message whose reference should be fetched.

Outputs

NameTypeDetails
Referenced MessageMessageThe message that was replied to, or empty if none. May be empty.

Send direct message​

Sends a direct message to a Discord user.

Inputs

NameTypeRequiredDetails
RecipientUserYesThe user who should receive the DM.
ContentMessage contentYesMessage content, embeds, components and files to send.

Outputs

NameTypeDetails
MessageMessageThe sent direct message.

Remove own reaction​

Removes a reaction the bot itself added to a message.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message to remove the reaction from.
EmojiTextYesUnicode emoji or custom emoji identifier to remove.

Remove user reaction​

Removes a specific user's reaction of a given emoji from a message.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message containing the reaction.
EmojiTextYesUnicode emoji or custom emoji identifier to remove.
UserUserYesThe user whose reaction will be removed.

Remove all reactions​

Removes every reaction from a message, regardless of emoji or user.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message whose reactions should be cleared.

Remove all reactions of emoji​

Removes every reaction of a single emoji from a message, across all users.

Required permissions: Manage messages.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message containing the reactions.
EmojiTextYesThe emoji whose reactions will be cleared.

Fetch reaction users​

Returns the users who reacted to a message with a specific emoji.

Required permissions: Read message history.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message whose reactions should be queried.
EmojiTextYesThe emoji whose reactors should be fetched.
LimitWhole numberNoMaximum number of users to fetch (1-100). Value: 1 to 100. Default: 100.

Outputs

NameTypeDetails
UsersList of UserUsers who reacted with the given emoji.

Create empty embed​

Create a new, blank embed with no fields set. Use the setter actions to fill it in.

Outputs

NameTypeDetails
EmbedEmbedThe freshly created empty embed.

Create embed​

Create a new embed with optional title, description, and color in a single step.

Inputs

NameTypeRequiredDetails
TitleTextNoEmbed title shown at the top. Maximum length: 256 characters.
DescriptionTextNoBody text shown below the title. Maximum length: 4096 characters.
ColorColorNoSide bar color of the embed.

Outputs

NameTypeDetails
EmbedEmbedThe newly created embed.

Set embed title​

Return a copy of the embed with its title replaced. Pass nothing to remove the title.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
TitleTextNoNew title, or empty to clear it. Maximum length: 256 characters.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Set embed description​

Return a copy of the embed with its description replaced.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
DescriptionTextNoNew description, or empty to clear it. Maximum length: 4096 characters.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Set embed URL​

Return a copy of the embed with the title hyperlink set to the given URL.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
URLURLYesURL the title links to.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Set embed color​

Return a copy of the embed with the side bar color replaced.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
ColorColorYesNew side bar color.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Set embed timestamp​

Return a copy of the embed with its footer timestamp set. When omitted, the current time is used.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
TimestampDate and timeNoTimestamp to display, or leave empty for now.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Set embed image​

Return a copy of the embed with its large image replaced.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
Image URLURLYesURL of the large image displayed at the bottom of the embed.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Set embed thumbnail​

Return a copy of the embed with its top right thumbnail replaced.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
Thumbnail URLURLYesURL of the small thumbnail image.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Set embed author​

Return a copy of the embed with the small author line above the title replaced.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
Author nameTextNoName shown in the author line. Maximum length: 256 characters. Use only one of these: Author.
Author URLURLNoOptional URL the author name links to.
Author icon URLURLNoOptional small icon shown next to the author name.
AuthorEmbed authorNoA prebuilt author value to use instead of the name/URL/icon fields above. Use only one of these: Author name.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Clear embed author​

Return a copy of the embed with the author line removed.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed without an author line.

Return a copy of the embed with the footer text and optional icon replaced.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
Footer textTextNoFooter text shown at the bottom. Maximum length: 2048 characters. Use only one of these: Footer.
Footer icon URLURLNoOptional small icon next to the footer text.
FooterEmbed footerNoA prebuilt footer value to use instead of the text/icon fields above. Use only one of these: Footer text.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Return a copy of the embed with the footer removed.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed without a footer.

Add embed field​

Return a copy of the embed with a new field appended. Discord allows at most 25 fields per embed.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
Field nameTextYesBold heading text of the field. Maximum length: 256 characters.
Field valueTextYesBody text of the field. Maximum length: 1024 characters.
InlineYes/NoYesIf true, the field is displayed next to other inline fields. Default: No.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Remove embed field at index​

Return a copy of the embed with the field at the given zero-based index removed.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
IndexWhole numberYesZero-based position of the field to remove. Minimum: 0.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Clear embed fields​

Return a copy of the embed with all fields removed.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed without any fields.

Set embed fields​

Return a copy of the embed with its fields replaced by the given list. Discord allows at most 25.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to modify.
FieldsList of Embed fieldYesReplacement list of embed fields. Maximum items: 25.

Outputs

NameTypeDetails
EmbedEmbedUpdated embed.

Get embed title​

Read the title from an embed. Returns nothing when no title is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
TitleTextThe embed's title or empty. May be empty.

Get embed description​

Read the description from an embed. Returns nothing when no description is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
DescriptionTextThe embed's description or empty. May be empty.

Get embed color​

Read the side bar color from an embed. Returns nothing when no color is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
ColorColorThe embed's side bar color or empty. May be empty.

Get embed fields​

Read the list of fields from an embed.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
FieldsList of Embed fieldAll fields currently on the embed.

Get embed author name​

Read the author name shown above the embed title.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
Author nameTextThe author name or empty if no author is set. May be empty.

Read the footer text shown at the bottom of an embed.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
Footer textTextThe footer text or empty if no footer is set. May be empty.

Get embed URL​

Read the title hyperlink URL from an embed. Returns nothing when no URL is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
URLURLThe embed's title hyperlink URL or empty. May be empty.

Get embed timestamp​

Read the footer timestamp from an embed. Returns nothing when no timestamp is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
TimestampDate and timeThe embed's timestamp or empty. May be empty.

Get embed image​

Read the large image URL from an embed. Returns nothing when no image is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
Image URLURLURL of the large image or empty if no image is set. May be empty.

Get embed thumbnail​

Read the top right thumbnail URL from an embed. Returns nothing when no thumbnail is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
Thumbnail URLURLURL of the small thumbnail image or empty if no thumbnail is set. May be empty.

Get embed author URL​

Read the URL the author name links to. Returns nothing when no author URL is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
Author URLURLThe author link URL or empty if none is set. May be empty.

Get embed author icon​

Read the small icon shown next to the author name. Returns nothing when no author icon is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
Author icon URLURLURL of the author icon or empty if none is set. May be empty.

Read the small icon shown next to the footer text. Returns nothing when no footer icon is set.

Inputs

NameTypeRequiredDetails
EmbedEmbedYesEmbed to read.

Outputs

NameTypeDetails
Footer icon URLURLURL of the footer icon or empty if none is set. May be empty.

Create embed field​

Build a single embed field value to be passed to other actions.

Inputs

NameTypeRequiredDetails
Field nameTextYesBold heading text of the field. Maximum length: 256 characters.
Field valueTextYesBody text of the field. Maximum length: 1024 characters.
InlineYes/NoYesIf true, the field can sit next to other inline fields. Default: No.

Outputs

NameTypeDetails
FieldEmbed fieldThe constructed embed field.

Build a footer value to be assigned to an embed.

Inputs

NameTypeRequiredDetails
Footer textTextYesFooter text. Maximum length: 2048 characters.
Footer icon URLURLNoOptional icon shown next to the text.

Outputs

NameTypeDetails
FooterEmbed footerThe constructed footer.

Create embed author​

Build an author value to be assigned to an embed.

Inputs

NameTypeRequiredDetails
NameTextYesAuthor display name. Maximum length: 256 characters.
URLURLNoOptional URL the author name links to.
Icon URLURLNoOptional small icon next to the author name.

Outputs

NameTypeDetails
AuthorEmbed authorThe constructed author.

Create button​

Build a button. Provide a target flow for normal buttons, or a URL for link buttons.

Inputs

NameTypeRequiredDetails
LabelTextNoText shown on the button. Maximum length: 80 characters.
StyleButton styleYesVisual style of the button. Default: Primary (blue)
Custom IDTextNoOptional identifier that rides along with the click (max 80 characters). Maximum length: 80 characters.
Target flowFlowNoFlow to run when the button is clicked.
URLURLNoURL opened by a link button.
EmojiTextNoEmoji shown alongside the label.
DisabledYes/NoYesIf true, the button is shown but not clickable. Default: No.

Outputs

NameTypeDetails
ButtonButtonThe constructed button.

Set button label​

Return a copy of the button with its label replaced.

Inputs

NameTypeRequiredDetails
ButtonButtonYesButton to modify.
LabelTextYesNew button label. Maximum length: 80 characters.

Outputs

NameTypeDetails
ButtonButtonUpdated button.

Set button emoji​

Return a copy of the button with its emoji replaced.

Inputs

NameTypeRequiredDetails
ButtonButtonYesButton to modify.
EmojiTextYesNew emoji shown on the button.

Outputs

NameTypeDetails
ButtonButtonUpdated button.

Set button style​

Return a copy of the button with its visual style replaced.

Inputs

NameTypeRequiredDetails
ButtonButtonYesButton to modify.
StyleButton styleYesNew visual style.

Outputs

NameTypeDetails
ButtonButtonUpdated button.

Set button disabled state​

Return a copy of the button enabled or disabled.

Inputs

NameTypeRequiredDetails
ButtonButtonYesButton to modify.
DisabledYes/NoYesIf true, the button is greyed out and unclickable.

Outputs

NameTypeDetails
ButtonButtonUpdated button.

Set button target flow​

Return a copy of the button that runs the given flow when clicked.

Inputs

NameTypeRequiredDetails
ButtonButtonYesButton to modify.
FlowFlowYesFlow to invoke on click.

Outputs

NameTypeDetails
ButtonButtonUpdated button.

Set button URL​

Return a copy of the button as a link button pointing at the given URL. The style is forced to LINK.

Inputs

NameTypeRequiredDetails
ButtonButtonYesButton to modify.
URLURLYesURL the button opens.

Outputs

NameTypeDetails
ButtonButtonUpdated link button.

Create empty message​

Create a new, blank message-content object with no text, embeds or buttons. Use the setter actions to fill it in.

Outputs

NameTypeDetails
MessageMessage contentThe freshly created empty message content.

Create message​

Compose a message in the editor; output it for reuse or further modification.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesThe message composed in the editor (text, embeds, components, files).

Outputs

NameTypeDetails
MessageMessage contentThe constructed message content.

Set message text​

Return a copy of the message content with its plain text replaced.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
TextTextYesReplacement plain text body. Maximum length: 2000 characters.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Set message embeds​

Return a copy of the message content with its embeds replaced. Discord allows at most 10.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
EmbedsList of EmbedYesReplacement list of embeds. Maximum items: 10.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Add embed to message​

Return a copy of the message content with the given embed appended.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
EmbedEmbedYesEmbed to append.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Remove embed from message at index​

Return a copy of the message content with the embed at the given index removed.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
IndexWhole numberYesZero-based position of the embed to remove. Minimum: 0.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Clear message embeds​

Return a copy of the message content with all embeds removed.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.

Outputs

NameTypeDetails
MessageMessage contentUpdated message without any embeds.

Set message buttons​

Return a copy of the message content with its buttons replaced. Discord allows at most 25 buttons across all rows.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
ButtonsList of ButtonYesReplacement list of buttons. Maximum items: 25.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Add button to message​

Return a copy of the message content with the given button appended.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
ButtonButtonYesButton to append.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Remove button from message at index​

Return a copy of the message content with the button at the given index removed.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
IndexWhole numberYesZero-based position of the button to remove. Minimum: 0.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Clear message buttons​

Return a copy of the message content with all buttons removed.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.

Outputs

NameTypeDetails
MessageMessage contentUpdated message without any buttons.

Merge message content​

Return a copy of the message content with the embeds, buttons and files of another message content folded in. Useful for reusing the components an admin configured on a message config option.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to merge into.
Source messageMessage contentYesMessage to take the parts from, for example a message config option.
Include embedsYes/NoYesAppend the source's embeds. Default: Yes.
Include buttonsYes/NoYesAppend the source's buttons, dropdowns and other components. Default: Yes.
Include filesYes/NoYesAppend the source's attachments. Default: Yes.
Include textYes/NoYesReplace the message text with the source's text. Off by default. Default: No.

Outputs

NameTypeDetails
MessageMessage contentMerged message.

Disable all message components​

Return a copy of the message content with every button AND every dropdown greyed out and unclickable, wherever it sits in the message - including inside containers and sections. The components stay visible, so the message still shows what was on offer; use Clear message buttons instead if you want them gone. Link and premium buttons are left working.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage whose buttons and dropdowns are disabled.

Outputs

NameTypeDetails
MessageMessage contentUpdated message with every button and dropdown disabled.

Add dropdown to message​

Return a copy of the message content with an action row appended holding the one supplied dropdown (text choices, user, role, channel or user-or-role).

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to add the dropdown to.
DropdownDropdownNoProvide one of the dropdown inputs. Use only one of these: User dropdown, Role dropdown, Channel dropdown, User-or-role dropdown.
User dropdownUser dropdownNoProvide one of the dropdown inputs. Use only one of these: Dropdown, Role dropdown, Channel dropdown, User-or-role dropdown.
Role dropdownRole dropdownNoProvide one of the dropdown inputs. Use only one of these: Dropdown, User dropdown, Channel dropdown, User-or-role dropdown.
Channel dropdownChannel dropdownNoProvide one of the dropdown inputs. Use only one of these: Dropdown, User dropdown, Role dropdown, User-or-role dropdown.
User-or-role dropdownUser-or-role dropdownNoProvide one of the dropdown inputs. Use only one of these: Dropdown, User dropdown, Role dropdown, Channel dropdown.

Outputs

NameTypeDetails
MessageMessage contentUpdated message with the dropdown appended.

Clear dropdowns​

Return a copy of the message content with every dropdown row removed. Button rows are left untouched.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to remove the dropdowns from.

Outputs

NameTypeDetails
MessageMessage contentUpdated message without any dropdowns.

Set message files​

Return a copy of the message content with its file attachments replaced. Discord allows at most 10.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
FilesList of AttachmentYesReplacement list of file attachments. Maximum items: 10.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Add file to message​

Return a copy of the message content with the given file attached.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
FileAttachmentYesAttachment to append.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Remove file from message at index​

Return a copy of the message content with the file at the given index removed.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
IndexWhole numberYesZero-based position of the file to remove. Minimum: 0.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Clear message files​

Return a copy of the message content with all files removed. File components inside a Components V2 message are left alone.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.

Outputs

NameTypeDetails
MessageMessage contentUpdated message without any files.

Set message text-to-speech​

Return a copy of the message content with text-to-speech enabled or disabled.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
Text-to-speechYes/NoYesIf true, Discord reads the message aloud to recipients.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Set message ephemeral​

Return a copy of the message content marked as only visible to the receiving user. Only valid for interaction replies.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
EphemeralYes/NoYesIf true, only the receiving user sees the message.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Set suppress link embeds​

Return a copy of the message content where Discord's automatic link previews are hidden.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
SuppressYes/NoYesIf true, automatic link previews are hidden.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Set suppress notifications​

Return a copy of the message content sent silently, without push notifications.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
SuppressYes/NoYesIf true, recipients receive no push notification.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Set message allowed mentions​

Return a copy of the message content with its allowed-mentions configuration replaced, controlling which mentions ping users.

Inputs

NameTypeRequiredDetails
MessageMessage contentYesMessage to modify.
Allowed mentionsAllowed mentionsYesAllowed-mentions configuration to apply.

Outputs

NameTypeDetails
MessageMessage contentUpdated message.

Create allowed mentions​

Build an allowed-mentions configuration that controls which @-mentions actually trigger pings.

Inputs

NameTypeRequiredDetails
Ping @everyone / @hereYes/NoYesIf true, @everyone and @here mentions trigger their pings. Default: No.
Ping all rolesYes/NoYesIf true, all role mentions in the content trigger pings (unless overridden by the roles list). Default: No.
Ping all usersYes/NoYesIf true, all user mentions in the content trigger pings (unless overridden by the users list). Default: No.
UsersList of UserNoSpecific users that may be pinged. Overrides "Ping all users".
RolesList of RoleNoSpecific roles that may be pinged. Overrides "Ping all roles".
Reply mentionYes/NoYesIf true, replying to a message pings its author. Default: No.

Outputs

NameTypeDetails
Allowed mentionsAllowed mentionsThe constructed allowed-mentions configuration.

Block all mentions​

Return an allowed-mentions configuration that suppresses every @-mention. Equivalent to silencing all pings.

Outputs

NameTypeDetails
Allowed mentionsAllowed mentionsAllowed-mentions configuration that pings nothing.

Create attachment from URL​

Build a file attachment by downloading from the given URL.

Inputs

NameTypeRequiredDetails
URLURLYesURL the file is downloaded from.
File nameTextYesFile name shown in Discord.
DescriptionTextNoOptional alt text for accessibility.

Outputs

NameTypeDetails
AttachmentAttachmentThe constructed attachment.

Create poll answer​

Build a single answer option for a Discord poll.

Inputs

NameTypeRequiredDetails
TextTextYesAnswer text shown to voters. Maximum length: 55 characters.
EmojiTextNoOptional emoji shown alongside the answer text.

Outputs

NameTypeDetails
AnswerPoll answerThe constructed poll answer.

Add poll answer​

Appends an answer to a poll answer list and returns the updated list (max 10 answers). Use the result in Create poll's answers.

Inputs

NameTypeRequiredDetails
AnswersList of Poll answerNoThe answer list to extend (leave empty to start a new list). Maximum items: 10.
TextTextYesAnswer text shown to voters (1-55). Length: 1 to 55 characters.
EmojiTextNoOptional emoji shown alongside the answer text.

Outputs

NameTypeDetails
AnswersList of Poll answerThe updated answer list.

Add container to message​

Appends a Components V2 container to a message-content. Requires V2 mode to be enabled on the message.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to extend.
ContainerContainer componentYesThe container to append.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Add button or menu row to message​

Appends a row of buttons or one dropdown to a message. This is how you put a dropdown on a normal message: unlike a container, a row does not turn the message into a Components V2 message, so it can still carry ordinary text and embeds.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to extend.
RowAction row componentYesThe row of buttons, or the row holding one dropdown, to append.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Add text display to message​

Appends a top-level text-display to a Components V2 message.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to extend.
Text DisplayText display componentYesThe text-display to append.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Add section to message​

Appends a top-level section to a Components V2 message.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to extend.
SectionSection componentYesThe section to append.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Appends a top-level media gallery to a Components V2 message.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to extend.
GalleryMedia gallery componentYesThe gallery to append.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Add separator to message​

Appends a top-level separator to a Components V2 message.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to extend.
SeparatorSeparator componentYesThe separator to append.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Add file component to message​

Appends a top-level file component to a Components V2 message.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to extend.
File ComponentFile componentYesThe file component to append.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Enable components V2​

Sets the IS_COMPONENTS_V2 flag on the message-content so V2 components are rendered. Once enabled, classic content/embeds are no longer allowed by Discord.

Inputs

NameTypeRequiredDetails
Message ContentMessage contentYesThe message-content to flag.

Outputs

NameTypeDetails
Message ContentMessage contentThe updated message-content.

Get message content​

Extracts the content/embeds/components/attachments of an existing message as message content, so you can edit it or send it elsewhere.

Inputs

NameTypeRequiredDetails
MessageMessageYesMessage to convert.

Outputs

NameTypeDetails
ContentMessage contentRepackaged message content.

Clone message to channel​

Re-sends a message in another channel by extracting its message content and posting through the bot. Distinct from Discord's native forward (no "Forwarded from" UI).

Required permissions: View channel, Send messages.

Inputs

NameTypeRequiredDetails
Source messageMessageYesMessage whose content will be re-sent.
Target channelText channelYesChannel to send the clone to.
Include attachmentsYes/NoYesRe-upload attachments. Disable to send text/embeds only. Default: Yes.
Include componentsYes/NoYesCarry over buttons / dropdowns. Their target flows are NOT carried over (clones are inert). Default: Yes.

Outputs

NameTypeDetails
Sent messageMessageThe newly sent message.

Edit message using source​

Edits a message in place by copying the content from another message.

Inputs

NameTypeRequiredDetails
Target messageMessageYesMessage to edit.
Source messageMessageYesMessage whose content overwrites the target.

Outputs

NameTypeDetails
Updated messageMessageTarget after the edit.

Fetch message reactions​

Returns the list of reactions on a message, each with its emoji and count.

Required permissions: Read message history.

Inputs

NameTypeRequiredDetails
MessageMessageYesThe message to read reactions from.

Outputs

NameTypeDetails
ReactionsList of ReactionThe reactions on the message.
Need more help?
Can't find what you're looking for? Our team is happy to help.