Skip to content

Comments

Add support for Enhanced Role Colors Guild Feature#1634

Open
conceaIing wants to merge 4 commits intobwmarrin:masterfrom
conceaIing:master
Open

Add support for Enhanced Role Colors Guild Feature#1634
conceaIing wants to merge 4 commits intobwmarrin:masterfrom
conceaIing:master

Conversation

@conceaIing
Copy link

Adds new RoleColors struct containing the PrimaryColor, SecondaryColor, and TertiaryColor fields used for Enhanced Role Colors configuration.

Adds RoleColors field to both RoleParams and Role structs.

Adds validation to GuildRoleEdit both matching the existing color size validation and for avoiding trying to use TertiaryColor outside of the Holographic role color. (Trying to do so will otherwise return status code 670008 from the API {"message": "Invalid role color", "code": 670008} )

Adds color validation to restapi.go following previous implementation
Add new Role Colors structs to RoleParams and Role structs
@conceaIing
Copy link
Author

Just wanted to follow up and ask if the workflow could be re-ran after I added the comment it failed on

Co-authored-by: Magnus Jensen <magnushjensen.mail@gmail.com>
@conceaIing
Copy link
Author

Would love to get this reviewed and/or signed off on 😄

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants