Browse Source

Add Colour.blurple and Colour.greyple.

pull/572/head
Rapptz 8 years ago
parent
commit
96eca8aa53
  1. 9
      discord/colour.py

9
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

Loading…
Cancel
Save