$mentionedRoles

Returns the ID of the mentioned role.

Usage

$mentionedRoles[mentionNumber]

Breakdown

  • mentionNumber - The role-mention to get from the author's message (1 = first role-mention, 2 = second, etc).

Example

$nomention
$mentionedRoles[1]

example