diff options
author | 2021-09-23 07:48:45 -0400 | |
---|---|---|
committer | 2021-10-05 16:42:50 +0100 | |
commit | 8ff23478fb2bd9cfba34686be68513ab3ac7b905 (patch) | |
tree | 03dda9d280f43bceac25284c3facf2aef3d3ad8b /bot | |
parent | chore: create subcommands for sending embed (diff) |
chore: make cmyk_to_rgb def multiline
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/utilities/color.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bot/exts/utilities/color.py b/bot/exts/utilities/color.py index 6cc03c9a..9e2af325 100644 --- a/bot/exts/utilities/color.py +++ b/bot/exts/utilities/color.py @@ -149,7 +149,11 @@ class Color(commands.Cog): b = int(b * 255) await self.color_embed(ctx, (r, g, b)) - async def cmyk_to_rgb(self, ctx: commands.Context, input_color: tuple[int, int, int, int]) -> tuple[int, int, int]: + async def cmyk_to_rgb( + self, + ctx: commands.Context, + input_color: tuple[int, int, int, int] + ) -> tuple[int, int, int]: """Function to convert cmyk color to rgb color and send main embed.""" input_color = self.tuple_create(input_color) c = input_color[0] |