title: Modify Guild Role category: Guild
modifyGuildRole
$client->guild->modifyGuildRole($parameters);
Modify a guild role. Requires the 'MANAGE_ROLES' permission. Fires a Guild Role Update Gateway event.
Name | Type | Required | Default |
---|---|---|---|
guild.id | snowflake | true | null |
role.id | string | true | null |
name | string | false | null |
permissions | integer | false | null |
color | integer | false | null |
hoist | bool | false | null |
mentionable | bool | false | null |
Returns the updated role on success.
Can Return: