$userRoles

Returns all role names given to the user.

Syntax

$userRoles[User ID]

Parameters

  • User ID (Type: Snowflake || Flag: Required): The user for whom to return the role names.

Example

$nomention
**My roles**:
$userRoles[$authorID]
!example My roles:
Support
Wiki Contributor
User

What is this?

How $authorID works?

Tip

You can use $textSplit[] to specify a different separator.