Block Builder· Updated Nov 4, 2026

Conditions, variables and control flow

Branching a flow with true/false outputs, and the checks available to you.

How branching works

Conditions have two outputs: the emerald upper port runs on true, the red lower port on false. Wire each to a different action and the flow splits.

The checks

  • Has Role? — roleId the member must hold.
  • Message Has? — text present in the triggering message.
  • In Channel? — channelId the event must come from.
  • User Is? — userId the actor must match.
  • Has Permission? — Administrator, Kick Members, Ban Members, Manage Messages, Manage Roles or Manage Channels.
  • Is Bot? — true when the author is a bot; useful to ignore other bots.
  • Arg Count? — compares the number of command arguments with equals, greater or less.
  • Random Chance? — percent, for gacha-style or joke responses.

Chaining

Conditions can feed other conditions. Each node keeps its own true and false branch, so a check can be nested as deep as you need.

A worked example — auto-moderation

  1. On Message with match: contains, text: discord.gg.
  2. → Is Bot? — true branch goes nowhere, false branch continues.
  3. → Has Permission? (Manage Messages) — true branch continues.
  4. → Purge Messages with count: 1, then Send DM to warn the author.

Keep branches readable: drag related nodes into a vertical line and leave space between columns.

Still stuck?

Open a ticket and every reply lands in your inbox.

Contact support
© 2026 BotForge · A Norax Studios Product