diff options
Diffstat (limited to 'discord/colour.py')
| -rw-r--r-- | discord/colour.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/colour.py b/discord/colour.py index 5baf379f..764cf6e2 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -27,7 +27,7 @@ import random from typing import ( Any, - Optional, + Optional, Tuple, Type, TypeVar, @@ -65,7 +65,7 @@ class Colour: .. describe:: str(x) Returns the hex format for the colour. - + .. describe:: int(x) Returns the raw colour value. @@ -95,7 +95,7 @@ class Colour: def __str__(self) -> str: return f'#{self.value:0>6x}' - + def __int__(self) -> int: return self.value |