diff options
| author | Rapptz <[email protected]> | 2017-05-13 17:39:12 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-13 17:39:12 -0400 |
| commit | 96eca8aa5351ed025a950ffbd90234bfb004afd8 (patch) | |
| tree | df63a7e364f387ce8cb5308355f0de945f3b9b01 /discord/colour.py | |
| parent | Force disconnect in abc.Connectable.connect. (diff) | |
| download | discord.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.py | 9 |
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 |