title: Modify Guild Role Positions category: Guild
modifyGuildRolePositions
$client->guild->modifyGuildRolePositions($parameters);
Modify the positions of a set of role objects for the guild. Requires the 'MANAGE_ROLES' permission. Fires multiple Guild Role Update Gateway events.
Name | Type | Required | Default |
---|---|---|---|
guild.id | snowflake | true | null |
id | snowflake | false | null |
position | integer | false | null |
Returns a list of all of the guild's role objects on success.
Can Return: