Skip to content

Conversation

@mkrasnitski
Copy link
Collaborator

Splitting out from #3382 to rebase and fix it up. One unresolved question is if RoleColours should be Copy or not.

@github-actions github-actions bot added model Related to the `model` module. builder Related to the `builder` module. labels Oct 2, 2025
@arqunis arqunis added enhancement An improvement to Serenity. discord feature Related to Discord's functionality. labels Oct 6, 2025
Copy link
Member

@arqunis arqunis left a comment

Choose a reason for hiding this comment

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

One unresolved question is if RoleColours should be Copy or not.

I think it is fine for it to be Copy. It doesn't appear to be a structure that they are going to be updating frequently, so we shouldn't have to worry about them introducing a heavy type into it, and the overall size turns out to be 20 bytes, which is dirt cheap to copy.

@arqunis arqunis merged commit 03c6681 into serenity-rs:current Oct 6, 2025
22 checks passed
@mkrasnitski mkrasnitski deleted the role-gradients branch October 6, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builder Related to the `builder` module. discord feature Related to Discord's functionality. enhancement An improvement to Serenity. model Related to the `model` module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants