Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Role → Update Role
AI-generatedSummary
Updates a role in the Discord server.
Inputs
- serverId (required) — Server ID
- roleId (required) — Role ID
- roleName — Role Name
- color — Hex color code
- permissions — Permission bitfield
Output shape
object
Return shape depends on underlying Discord API execution; source implementation for role operations returns role details or success status.