$modifyRole
$modifyRole
will modify a given role.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID of where the role is located in. | true |
roleID | number | The role ID to modify. | true |
…data | string, object | New role data. | true |
Example(s)
This will edit an existing role / change its name to “Awesome!”: