$userRoles
$userRoles
will return the roles of a specific user.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
userID? | number | The user ID. | false |
guildID? | number | The guild ID. | false |
option? | string | How to return the roles 1. name (default) 2. id 3. mention | false |
sep? | string | Separator to separate multiple returned values. | false |
Example(s)
This will return your roles: