Skip to content

Commit 7508387

Browse files
committed
Fix: colors are already dicord.Color, not tuple
1 parent 7acb905 commit 7508387

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def make_embed(title="", color=blue_light, name="‌", value="‌", footer=None)
4949
:return: Embed ready to send
5050
"""
5151
# make color object
52-
color = discord.Color.from_rgb(*color) # * unwraps the elements in the tuple
5352
emb = discord.Embed(title=title, color=color)
5453
emb.add_field(name=name, value=value)
5554
if footer:

0 commit comments

Comments
 (0)