BotFrame

Messages · Workflow node

Edit message

The Edit message node as it appears in the workflow editor.

What it does

Replace the content of a message sent by this bot.

When the workflow reaches this node, BotFrame uses its settings and connected values to perform the Discord message action. The workflow then continues through Flow.

Typical use

Update a bot message after a user completes an interaction.

How to use it

  1. Add it from MessagesOpen the node library and choose Edit message from Messages.
  2. Connect the workflow pathConnect Flow in from the previous step and Flow to the next step.
  3. Choose settings and connect valuesSet Channel, Message, Message. Connections can also supply values produced by earlier nodes.

Settings

These are the options shown when you add this node. A connected value can replace a setting when the workflow runs.

SettingStarting valueWhat it controls
ChannelEmptyUsed when Channel ID is not connected from an earlier node.
MessageEmptyUsed when Message content is not connected from an earlier node.
MessageEmptyUsed when Message ID is not connected from an earlier node.

Value connections

Value connections pass information between nodes without changing the order of the workflow. When an input is not connected, BotFrame uses the value selected in the node or details from the starting Discord event when available.

Inputs

Channel IDChannel · Defaults to the current event channel
Optional
Message IDMessage
Required
Message contentText
Optional
EmbedObject
Optional
ComponentsList
Optional

Outputs

This item has no separate value output. Its Flow connection continues the workflow.

What happens when it runs

When the workflow reaches this node, BotFrame uses its settings and connected values to perform the Discord message action. The workflow then continues through Flow.

You can use this item in a published BotFrame workflow. You can also test it in the simulator.

These details match the node currently available in the BotFrame workflow editor.