BotFrame

Server actions · Workflow node

Everyone role

The Everyone role node as it appears in the workflow editor.

What it does

Get the current server's @everyone role.

When the workflow reaches this node, BotFrame uses the current server details and any connected IDs to perform the Discord action. The resulting Everyone role can be connected to later nodes.

Typical use

Get the current server’s @everyone role ID before changing channel access.

How to use it

  1. Add it from Server actionsOpen the node library and choose Everyone role from Server actions.
  2. Connect the workflow pathConnect Flow in from the previous step and Flow to the next step.
  3. Choose settings and connect valuesSet Entity, Mode. 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
EntityroleSelects the server item this node returns.
ModeeveryoneChooses how the server item is found.

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

Guild IDServer · Defaults to the current server
Optional

Outputs

Everyone roleRole
Optional

What happens when it runs

When the workflow reaches this node, BotFrame uses the current server details and any connected IDs to perform the Discord action. The resulting Everyone role can be connected to later nodes.

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.