aboutsummaryrefslogtreecommitdiff
path: root/discord/colour.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-13 17:39:12 -0400
committerRapptz <[email protected]>2017-05-13 17:39:12 -0400
commit96eca8aa5351ed025a950ffbd90234bfb004afd8 (patch)
treedf63a7e364f387ce8cb5308355f0de945f3b9b01 /discord/colour.py
parentForce disconnect in abc.Connectable.connect. (diff)
downloaddiscord.py-96eca8aa5351ed025a950ffbd90234bfb004afd8.tar.xz
discord.py-96eca8aa5351ed025a950ffbd90234bfb004afd8.zip
Add Colour.blurple and Colour.greyple.
Diffstat (limited to 'discord/colour.py')
-rw-r--r--discord/colour.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/discord/colour.py b/discord/colour.py
index 9f104451..f6dc7226 100644
--- a/discord/colour.py
+++ b/discord/colour.py
@@ -200,5 +200,14 @@ class Colour:
"""A factory method that returns a :class:`Colour` with a value of ``0x546e7a``."""
return cls(0x546e7a)
+ @classmethod
+ def blurple(cls):
+ """A factory method that returns a :class:`Colour` with a value of ``0x7289da``."""
+ return cls(0x7289da)
+
+ @classmethod
+ def greyple(cls):
+ """A factory method that returns a :class:`Colour` with a value of ``0x99aab5``."""
+ return cls(0x99aab5)
Color = Colour