Elementium Sign in
Contents

Members & roles · Step

Roles nobody has

Roles with no members, leaving out @everyone and the roles Discord or a bot manages (like the booster role).

Free plan role.empty_list

In a flow

“When a button is clicked, roles nobody has.”

/empty-roles → Roles nobody has → Reply (private) with As text.

What it does

Roles with no members, leaving out @everyone and the roles Discord or a bot manages (like the booster role). It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 3 values later steps can use. Find it under Members & roles in the palette.

When to use it

Before a role-menu redesign or a yearly clean-up: the roles nobody has any more, ready to delete one at a time.

When not to

Roles Discord or a bot manages (the booster role, each bot's own role) never show: nobody can give those. On a very big server it waits until I can see every member.

Typical wiring

Sockets: settings you can wire

How many Number

The most roles to list.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 25.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 513 more

Skip names with Text

Leave out roles whose name has this text, like color. Empty skips none.

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, the step runs without it.

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

Values it gives

Roles list:role

The empty roles, highest first. e.g. [{"id": "123…", "name": "Event 2024"}]

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more

How many Number

How many empty roles there are (it can be more than it lists). e.g. 5

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 729 more

As text Text

One a line, ready to post. A friendly sentence when there are none. e.g. @Event 2024 @Old staff

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 582 more

Often next

Related in Members & roles

Wires and sockets · Data values · Plans