Elementium Sign in
Contents

Logic · Check

Has role

The member has a role.

Free plan has_role

In a flow

“When a button is clicked, if they have a role, reply with a message.”

What it does

The member has a role. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: the member has a role.

When not to

To pick between more than two outcomes, Switch or Random reads better than a chain of checks.

Typical wiring

Sockets: settings you can wire

Role Role needed

The role.

What goes there: Type it in the side panel, or wire in a role. e.g. @Verified

If it's empty: Needed. Publish lists it until it's set or wired; the step can't run without it.

Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more

Often next

Related in Logic

Wires and sockets · Data values · Plans