Elementium Sign in
Contents

Logic · Step

Needs a role

Carry on only for members with one of the roles; tell everyone else and stop.

Free plan logic.require_role

In a flow

“When a button is clicked, needs a role.”

VIP-only button: 'You need @VIP for that.'

What it does

Carry on only for members with one of the roles; tell everyone else and stop. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: carry on only for members with one of the roles; tell everyone else and stop.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Reply Text

What they're told when the check stops them. Leave empty to stop without a word. Variables allowed.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses You need a role for that..

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

Shortcuts

Often next

Related in Logic

Wires and sockets · Data values · Plans