$roleId
$roleId
will return the ID of a role.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleResolver | string | Name of the role. | true |
guildID? | string | ID of the guild where the role was created in. | false |
Example(s)
This will return the role ID of a role called Owner
(this example won’t work if you don’t have that role):