From 78cdc0f3e29ecc2571d40a2acb53b98e1b0f0e78 Mon Sep 17 00:00:00 2001 From: brad90four <42116429+brad90four@users.noreply.github.com> Date: Thu, 23 Sep 2021 07:48:45 -0400 Subject: chore: make cmyk_to_rgb def multiline --- bot/exts/utilities/color.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bot') 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] -- cgit v1.2.3