DiscordSRV icon indicating copy to clipboard operation
DiscordSRV copied to clipboard

Top role color pulls from colorless role

Open Epikest opened this issue 2 years ago • 2 comments

Expected behavior

the top role of a user should use the topmost colored role

Actual behavior

colorless role color is displayed

Steps to reproduce

simply have a top role without a color and a role below that with a color and say something in your bridge channel with %toprolecolor% somewhere in DiscordToMinecraftChatMessageFormat

Server software and version

git-Purpur-1632 (MC: 1.18.2)*

Checks

  • [X] I am not using an outdated version of DiscordSRV.
  • [X] I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.

Anything else

No response

Epikest avatar Jun 16 '22 03:06 Epikest

it's happening the same for me, i would like this to be fixed, DiscordSRV is getting the color of the top role (which can be uncolored), not the colored top role, i'm on version DiscordSRV 1.26.0 / Paper-132 1.19.2

4L0N50asd avatar Nov 14 '22 01:11 4L0N50asd

Filter out top colorless meta roles with DiscordChatChannelRolesSelection

Scarsz avatar Nov 15 '22 19:11 Scarsz