$findRole
$findRole
will search and return a given role of a certain guild.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleResolver | string | Name of the role you want to find. | true |
guildID? | number | Guild ID where the role is present in. | false |
Example(s)
This will return the role ID of the role Owner
if it exists: