Skip to content

Don't consider colorless roles for the !user embed color #1496

@bsoyka

Description

@bsoyka

A user with any colorless roles such as Voice Verified results in the !user embed having a black color (rather than blurple), as shown below.

Screenshot

This should just be an easy fix to a minor visual problem just by replacing this line:

embed.colour = user.top_role.colour if roles else Colour.blurple()

Metadata

Metadata

Assignees

Labels

a: informationRelated to information commands: (doc, help, information, reddit, site, tags)t: enhancementChanges or improvements to existing features

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions