Skip to Content
BuildcordDocs

User

Branch on who triggered the flow.

logic.user checks whether a particular person, or one of several, started the flow.

Settings

SettingWhat it does
Is one ofIDs or usernames, separated by commas, or a token holding a list such as {var.staff}.
CheckingSomeone else to check instead of whoever started the flow, such as {option.member}.

Ways out

Way outTaken when
It's themThat person, or one of them, started the flow.
Someone elseAnyone else did.

Notes

  • Use IDs rather than usernames. Nobody can take someone else's ID, but a username can change hands after its owner changes it. A username only matches whoever started the flow.
  • Display names never match. Anyone can set their display name to anything, so a check on one would let anyone through.
  • To check a role instead, use Role.

Was this page helpful?