aboutsummaryrefslogtreecommitdiff
path: root/discord/colour.py
diff options
context:
space:
mode:
authorSebbyLaw <[email protected]>2020-07-16 01:08:55 -0700
committerRapptz <[email protected]>2020-07-22 23:18:29 -0400
commit9b24ff4f77a5976e296825a8b90d092327ce3eaa (patch)
treebf4d5d9dfd16534321d47c414ca0954ace7a9de4 /discord/colour.py
parent[commands] GroupView.get_command shouldn't raise errors for empty names (diff)
downloaddiscord.py-9b24ff4f77a5976e296825a8b90d092327ce3eaa.tar.xz
discord.py-9b24ff4f77a5976e296825a8b90d092327ce3eaa.zip
Add gray alias for discord.Colour
Diffstat (limited to 'discord/colour.py')
-rw-r--r--discord/colour.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/colour.py b/discord/colour.py
index 35aa6827..ccaa7e05 100644
--- a/discord/colour.py
+++ b/discord/colour.py
@@ -202,21 +202,29 @@ class Colour:
"""A factory method that returns a :class:`Colour` with a value of ``0x95a5a6``."""
return cls(0x95a5a6)
+ lighter_gray = lighter_grey
+
@classmethod
def dark_grey(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0x607d8b``."""
return cls(0x607d8b)
+ dark_gray = dark_grey
+
@classmethod
def light_grey(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0x979c9f``."""
return cls(0x979c9f)
+ light_gray = light_grey
+
@classmethod
def darker_grey(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0x546e7a``."""
return cls(0x546e7a)
+ darker_gray = darker_grey
+
@classmethod
def blurple(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0x7289da``."""