diff options
| author | 2021-09-23 21:42:48 -0400 | |
|---|---|---|
| committer | 2021-09-23 21:42:48 -0400 | |
| commit | 2ff3aac68a2817903bca5b616a39508fd61050e7 (patch) | |
| tree | a057352d3a102caf299604a0f4a32473514a6aed | |
| parent | chore: set thumbnail image to 80x80 (diff) | |
| parent | chore: make cmyk_to_rgb def multiline (diff) | |
Merge branch 'color-677' of github.com:brad90four/sir-lancebot into color-677
Diffstat (limited to '')
| -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 1652ee19..e66592d2 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]  |