Actions › Lookup

Find a role

Looks for a role by name — the highest one, if several share it
  • Free
  • Outputs: Success, Failure

Fields

What you set in Properties. The grey name is the one in the Blueprint's JSON.

FieldWhat it does
Role name
name
The role's exact name, capitals included.required

What it passes on

On the Success output, for the nodes after it. Click a value in the editor to copy its reference.

DataPathType
Role ▸ IDrole.idTextcan be empty
Role ▸ Namerole.nameTextcan be empty
Role ▸ Colorrole.colorTextcan be empty
Role ▸ Positionrole.positionNumbercan be empty
Role ▸ Mentionablerole.mentionableYes/Nocan be empty
Role ▸ Shown separatelyrole.hoistYes/Nocan be empty
FoundfoundYes/No

When it fails

The Failure output receives success (false) and error: error.code, error.message in the server's language, and error.detail, what Discord said. The possible causes are in Errors.

Discord permissions

None: the bot needs no server permission for this node.