Flow reference: Logic
Check Context
Branch on whether the event happened in a server or DM.
Branch on whether the event happened in a server or DM.
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
Expect — context
Choose server or DM context. Put server-dependent actions only on the branch with a server.
Input: Fixed choice.
Default:
guild.Available choices (preserve the exact value):
guild — In a serverdm — In DMsOutputs and next steps
true: The condition matched.false: The condition did not match.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).