Skip to content

Allow self-assigning role colors - #569

Open
danthe1st wants to merge 2 commits into
Java-Discord:mainfrom
danthe1st:color-roles
Open

danthe1st wants to merge 2 commits into
Java-Discord:mainfrom
danthe1st:color-roles

Conversation

@danthe1st

@danthe1st danthe1st commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

This PR allows users assigning role colors to themselves using the /color command.

This feature is restricted to users with a specified (configurable) role. If users no longer have the role, their corresponding color roles will be removed as well.

If no users with a color role are left, the color role is deleted.

See suggestion https://discord.com/channels/648956210850299986/752535909228085348/1561676539014160455.

Setup steps

To get this feature set up, run the database migration 2026-11-07_create_color_roles and set the moderationConfig.colorRoleChangeRoleId to a valid role ID (the bot needs to be able to manage that role).

@danthe1st
danthe1st requested a review from a team as a code owner November 7, 2026 16:07
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.

1 participant