Piecewise

Build chat bots with blocks

(property) of role (role)

In Discord → Roles

Jump to block

Find a property of a role.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
property any The property to get.
role role The role to get a property of.

Output

String - The requested property, as a string, or empty string if undefined or not applicable