$mentionedRoles
$mentionedRoles
will return the ID of a role retrieved from a message.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
index | number | The index of the argument. | true |
Example(s)
This will return the ID of the first role mention if you attempt to mention any role in this command: