Elementium Sign in
Contents

Members & roles · Step

Copy a role

Make a new role with another's colour, permissions and settings.

Basic plan role.copy

In a flow

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

/new-team name → Copy a role Team template named {name}.

What it does

Make a new role with another's colour, permissions and settings. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Members & roles in the palette.

When to use it

Use it when the flow acts on a member: make a new role with another's colour, permissions and settings.

When not to

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

Typical wiring

Sockets: settings you can wire

Role Role needed

The role to copy: its colour, permissions and settings.

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 questionCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingWhen a role is changedand 2 more

Name Text

The new role's name, like {node.x.text} Helper. 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 Copy of role.

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

Values it gives

New role Role

The new role. e.g. @Red team

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

Connects toAnti-nuke guardAutoMod: block wordsAutoMod: Discord's word listsAutoMod: leave a role or channel aloneAutoMod: mention limitAutoMod: suspected spamBot can manage roleChange anti-nuke trusted listand 576 more

Often next

Related in Members & roles

Wires and sockets · Data values · Plans