Skip to content

Conversation

@conorwastakenwastaken
Copy link
Contributor

@conorwastakenwastaken conorwastakenwastaken commented Aug 25, 2025

Ref:

Also adds "ENHANCED_ROLE_COLORS" guild feature

@bsian03 bsian03 requested a review from Copilot September 27, 2025 22:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements support for gradient role colors in Discord, allowing roles to have multiple colors (primary, secondary for gradients, and tertiary for holographic effects) instead of just a single color. This aligns with recent Discord API updates.

  • Adds new colors property to Role objects with support for primary, secondary, and tertiary colors
  • Updates role creation and editing methods to handle the new color structure
  • Adds the "ENHANCED_ROLE_COLORS" guild feature to the constants

Reviewed Changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
lib/structures/Role.js Adds colors property and documentation for gradient role support
lib/structures/Guild.js Updates role creation and editing method documentation
lib/gateway/Shard.js Includes colors in role update event tracking
lib/Constants.js Adds ENHANCED_ROLE_COLORS guild feature
lib/Client.js Implements API transformation for colors in role creation/editing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants