Change fill method to prevent color artifacting
This commit is contained in:
commit
47dd6e4f4c
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue