We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The color of the username displayed (in the cogs.croissants) is invalid.
Attribute a 1st role with a color to a user, then attribute a 2nd role without any colour, the 2nd role should be above the 1st.
The username should has the same color as the 1st role.
The username is black.
The top role is not always colored. https://github.com/PaulMarisOUMary/Algosup-Discord/blob/b1c4087fb2821fa76b401d0c9e56b704d9778857/cogs/croissants.py#L68
name_color = author.color
The text was updated successfully, but these errors were encountered:
fix: __is_on_cooldown() method & name_color #13
b90c6a6
Co-Authored-By: Léo CHARTIER <91249751+leo-chartier@users.noreply.github.com>
Merge pull request #18 from PaulMarisOUMary/fix-croissants
36b2db0
fix: #13
Successfully merging a pull request may close this issue.
Subject:
The color of the username displayed (in the cogs.croissants) is invalid.
Reproduction steps:
Attribute a 1st role with a color to a user, then attribute a 2nd role without any colour, the 2nd role should be above the 1st.
Expected result:
The username should has the same color as the 1st role.
Actual result:
The username is black.
Aditional content:
Cause(s):
The top role is not always colored.
https://github.com/PaulMarisOUMary/Algosup-Discord/blob/b1c4087fb2821fa76b401d0c9e56b704d9778857/cogs/croissants.py#L68
How to fix:
The text was updated successfully, but these errors were encountered: