Flow reference: Messages
Edit Message
Edit an existing message.
Edit an existing message.
When and how to use it
Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.
Configuration fields
Message ID — messageId
Use the ID of the specific message, not its text, author or channel ID. Keep the message's channel context consistent.
Input: Text.
Default:
{message.id}.Channel (blank = current) — channel
Choose the channel this block targets or filters. Use its Discord ID or a supported channel variable. Check channel overrides for the bot.
Input: Text.
Editor guidance: Discord only lets a bot edit messages it sent itself.
Format example, not a ready value for your server:
#general.Default: ``.
Allow @everyone and role pings — allowPings
Enable mass mentions only when intentional. Untrusted text should not be allowed to ping everyone or arbitrary roles.
Input: On/off switch.
Editor guidance: Off: only members can be pinged, so text from users can never mass-ping.
Message editor
Alongside ordinary fields, configure text, embeds or Components V2 in this block's message editor. Add buttons/menus in the message and match their Custom IDs to their triggers. [Message guide](/docs/design).
Outputs and next steps
out: Continue to the next step.Test and troubleshoot
Invoke the correct trigger with simple inputs and verify the expected effect. Confirm variables exist on this path. A preview alone does not verify Discord delivery.
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).