Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Role → List Roles
AI-generatedSummary
Lists all roles in the specified Discord server, returning each role's ID, name, and color hex code.
Inputs
- serverId (required) — The ID of the Discord server to list roles from.
Output shape
array
Each item contains the role's ID, name, and color as a hex code string.