Change fill method to prevent color artifacting
This commit is contained in:
parent
bf3e166360
commit
f9f49b7712
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class UtilCog(commands.Cog):
|
|||
data = np.array(JARVIS_LOGO)
|
||||
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())
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue