diff options
author | 2021-11-11 16:58:09 -0500 | |
---|---|---|
committer | 2021-11-11 16:58:09 -0500 | |
commit | a8aebd4fe051052f52b68c822d0762c56eba9591 (patch) | |
tree | 6d2f30a65eb606c8fdea8193ddffcae8549a3b83 /bot/exts/utilities/colour.py | |
parent | fix: remove async call for match_colour_name (diff) |
fix: change color to Colour in comment
Diffstat (limited to 'bot/exts/utilities/colour.py')
-rw-r--r-- | bot/exts/utilities/colour.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/colour.py b/bot/exts/utilities/colour.py index ed69beaf..a35b393d 100644 --- a/bot/exts/utilities/colour.py +++ b/bot/exts/utilities/colour.py @@ -153,7 +153,7 @@ class Colour(commands.Cog): hex_tuple = ImageColor.getrgb(hex_code) if len(hex_tuple) == 4: - hex_tuple = hex_tuple[:-1] # color must be RGB. If RGBA, we remove the alpha value + hex_tuple = hex_tuple[:-1] # Colour must be RGB. If RGBA, we remove the alpha value await self.send_colour_response(ctx, hex_tuple) @colour.command() |