Change fill method to prevent color artifacting

This commit is contained in:
Zeva Rose 2022-02-03 07:35:07 +00:00
commit 47dd6e4f4c

View file

@ -168,7 +168,7 @@ class UtilCog(commands.Cog):
data = np.array(JARVIS_LOGO) data = np.array(JARVIS_LOGO)
r, g, b, a = data.T r, g, b, a = data.T
fill = (r == 52) & (g == 152) & (b == 219) fill = a > 0
data[..., :-1][fill.T] = list(role.color.to_rgb()) data[..., :-1][fill.T] = list(role.color.to_rgb())