BotFrame

Messages · Workflow node

Set bot status

The Set bot status node as it appears in the workflow editor.

What it does

Change the bot's Discord activity and availability.

Typical use

Display a dynamic status based on the bot's current state.

How to use it

  1. Add and connect the stepChoose Set bot status from Messages. Connect it between the steps where the status should change.
  2. Set the statusChoose the activity and availability in the inspector. Enter Status text, or connect text from another node.
  3. Test before deployingRun the workflow in the simulator. To set the starting status instead, edit Default Discord status on Overview.

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
Activity TypecustomChoose custom, playing, listening, watching, or competing to control how the activity appears in Discord.
StatusonlineChoose online, idle, or dnd (Do not disturb).
TextReady to helpUp to 128 characters. A connected Status text value replaces this text; leave it empty to clear the activity.

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

Status textText
Optional

Outputs

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

What happens when it runs

The status changes everywhere the bot appears, across all servers. Rapid updates use the latest value and may take a few seconds to appear. Deploying restores the default status; reconnecting keeps the latest one.

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.