diff options
| author | Rapptz <[email protected]> | 2015-11-27 17:51:59 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-27 17:56:35 -0500 |
| commit | 9fb2186785a761f1888c8ddd2ce49c6d65e968ff (patch) | |
| tree | 9cd37c1c6e2d790fcd55fd41be5afe76b4f10bcc | |
| parent | Performance improvements in on_typing event. (diff) | |
| download | discord.py-9fb2186785a761f1888c8ddd2ce49c6d65e968ff.tar.xz discord.py-9fb2186785a761f1888c8ddd2ce49c6d65e968ff.zip | |
Update to the new colours.
| -rw-r--r-- | discord/colour.py | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/discord/colour.py b/discord/colour.py index afa0acab..c055ef7c 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -84,104 +84,104 @@ class Colour(object): return cls(0) @classmethod - def cyan(cls): - """A factory method that returns a :class:`Colour` with a value of 0x1abc9c.""" + def teal(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x1abc9c``.""" return cls(0x1abc9c) @classmethod - def green(cls): - """A factory method that returns a :class:`Colour` with a value of 0x2ecc71.""" - return cls(0x2ecc71) - - @classmethod - def blue(cls): - """A factory method that returns a :class:`Colour` with a value of 0x3498db.""" - return cls(0x3498db) - - @classmethod - def purple(cls): - """A factory method that returns a :class:`Colour` with a value of 0x9b59b6.""" - return cls(0x9b59b6) + def dark_teal(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x11806a``.""" + return cls(0x11806a) @classmethod - def yellow(cls): - """A factory method that returns a :class:`Colour` with a value of 0xf1c40f.""" - return cls(0xf1c40f) + def green(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x2ecc71``.""" + return cls(0x2ecc71) @classmethod - def orange(cls): - """A factory method that returns a :class:`Colour` with a value of 0xe67e22.""" - return cls(0xe67e22) + def dark_green(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x1f8b4c``.""" + return cls(0x1f8b4c) @classmethod - def red(cls): - """A factory method that returns a :class:`Colour` with a value of 0xe74c3c.""" - return cls(0xe74c3c) + def blue(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x3498db``.""" + return cls(0x3498db) @classmethod - def grey(cls): - """A factory method that returns a :class:`Colour` with a value of 0x95a5a6.""" - return cls(0x95a5a6) + def dark_blue(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x206694``.""" + return cls(0x206694) @classmethod - def dark_grey(cls): - """A factory method that returns a :class:`Colour` with a value of 0x7f8c8d.""" - return cls(0x7f8c8d) + def purple(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x9b59b6``.""" + return cls(0x9b59b6) @classmethod - def navy_blue(cls): - """A factory method that returns a :class:`Colour` with a value of 0x34495e.""" - return cls(0x34495e) + def dark_purple(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x71368a``.""" + return cls(0x71368a) @classmethod - def dark_cyan(cls): - """A factory method that returns a :class:`Colour` with a value of 0x11806a.""" - return cls(0x11806a) + def magenta(cls): + """A factory method that returns a :class:`Colour` with a value of ``0xe91e63``.""" + return cls(0xe91e63) @classmethod - def dark_green(cls): - """A factory method that returns a :class:`Colour` with a value of 0x1f8b4c.""" - return cls(0x1f8b4c) + def dark_magenta(cls): + """A factory method that returns a :class:`Colour` with a value of ``0xad1457``.""" + return cls(0xad1457) @classmethod - def dark_blue(cls): - """A factory method that returns a :class:`Colour` with a value of 0x206694.""" - return cls(0x206694) + def gold(cls): + """A factory method that returns a :class:`Colour` with a value of ``0xf1c40f``.""" + return cls(0xf1c40f) @classmethod - def dark_purple(cls): - """A factory method that returns a :class:`Colour` with a value of 0x71368a.""" - return cls(0x71368a) + def dark_gold(cls): + """A factory method that returns a :class:`Colour` with a value of ``0xc27c0e``.""" + return cls(0xc27c0e) @classmethod - def strong_orange(cls): - """A factory method that returns a :class:`Colour` with a value of 0xc27c0e.""" - return cls(0xc27c0e) + def orange(cls): + """A factory method that returns a :class:`Colour` with a value of ``0xe67e22``.""" + return cls(0xe67e22) @classmethod def dark_orange(cls): - """A factory method that returns a :class:`Colour` with a value of 0xa84300.""" + """A factory method that returns a :class:`Colour` with a value of ``0xa84300``.""" return cls(0xa84300) @classmethod + def red(cls): + """A factory method that returns a :class:`Colour` with a value of ``0xe74c3c``.""" + return cls(0xe74c3c) + + @classmethod def dark_red(cls): - """A factory method that returns a :class:`Colour` with a value of 0x992d22.""" + """A factory method that returns a :class:`Colour` with a value of ``0x992d22``.""" return cls(0x992d22) @classmethod - def dark_grey_blue(cls): - """A factory method that returns a :class:`Colour` with a value of 0x979c9f.""" - return cls(0x979c9f) + def lighter_grey(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x95a5a6``.""" + return cls(0x95a5a6) + + @classmethod + def dark_grey(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x607d8b``.""" + return cls(0x607d8b) @classmethod def light_grey(cls): - """A factory method that returns a :class:`Colour` with a value of 0xbcc0c0.""" - return cls(0xbcc0c0) + """A factory method that returns a :class:`Colour` with a value of ``0x979c9f``.""" + return cls(0x979c9f) @classmethod - def dark_navy_blue(cls): - """A factory method that returns a :class:`Colour` with a value of 0x2c3e50.""" - return cls(0x2c3e50) + def darker_grey(cls): + """A factory method that returns a :class:`Colour` with a value of ``0x546e7a``.""" + return cls(0x546e7a) Color = Colour |