aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/colour.py
diff options
context:
space:
mode:
authorGravatar Ritik Ranjan <[email protected]>2023-07-06 17:11:56 +0530
committerGravatar GitHub <[email protected]>2023-07-06 11:41:56 +0000
commitb9f27ede7879a446ce58f12ab89f5c7c67e744ae (patch)
tree81f3b45365f282aae616f228a101f590897ffe57 /bot/exts/utilities/colour.py
parentBump pillow from 9.5.0 to 10.0.0 (#1310) (diff)
Fix type hint (#1314)
Diffstat (limited to 'bot/exts/utilities/colour.py')
-rw-r--r--bot/exts/utilities/colour.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/colour.py b/bot/exts/utilities/colour.py
index b8f1d62d..95f9ac22 100644
--- a/bot/exts/utilities/colour.py
+++ b/bot/exts/utilities/colour.py
@@ -182,7 +182,7 @@ class Colour(commands.Cog):
hex_tuple = ImageColor.getrgb(f"#{hex_colour}")
await self.send_colour_response(ctx, hex_tuple)
- def get_colour_conversions(self, rgb: tuple[int, int, int]) -> dict[str, str]:
+ def get_colour_conversions(self, rgb: tuple[int, int, int]) -> dict[str, tuple[int, ...] | str]:
"""Create a dictionary mapping of colour types and their values."""
colour_name = self._rgb_to_name(rgb)
if colour_name is None: