aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar brad90four <[email protected]>2021-09-22 09:39:37 -0400
committerGravatar Chris Lovering <[email protected]>2021-10-05 16:42:50 +0100
commit8a9d71b77a6385bd2dbf8388a732e980fe66dac2 (patch)
treed823e3cbeeae6aa4bbf05bc7178ff7e4e8a61ee6
parentfix: restructure script (diff)
fix: remove `get_color_fields` call in color_embed
-rw-r--r--bot/exts/utilities/color.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/utilities/color.py b/bot/exts/utilities/color.py
index 67068809..5cdc5083 100644
--- a/bot/exts/utilities/color.py
+++ b/bot/exts/utilities/color.py
@@ -324,9 +324,8 @@ class Color(commands.Cog):
file = await self.create_thumbnail_attachment(rgb_color)
main_embed.set_thumbnail(url="attachment://color.png")
- fields = self.get_color_fields(rgb_color)
- for field in fields:
+ for field in all_colors:
main_embed.add_field(
name=field['name'],
value=field['value'],