reorder_roles
Reorders Discord server roles by priority. Provide role IDs in order from most to least important, or specify exact positions.
Instructions
Reorders roles in the hierarchy. Preferred: pass orderedRoleIds as an array of role IDs from MOST important (top) to least important (bottom) — the server computes the raw Discord positions for you. Advanced: pass rolePositions with explicit numeric positions (higher = more powerful). Provide exactly one of the two.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | No | Guild ID or name. Defaults to the currently selected guild. | |
| rolePositions | No | Advanced: explicit [{roleId, position}] with raw Discord positions (higher = more powerful). Provide this OR orderedRoleIds, not both. | |
| orderedRoleIds | No | Role IDs ordered from most important (index 0 = top) to least important. Positions are computed automatically. Provide this OR rolePositions, not both. |