diff options
| author | Arnav Jindal <[email protected]> | 2021-05-15 11:37:45 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-15 02:07:45 -0400 |
| commit | ee3e2944ba074a2687bece742a3ad3f596f0ff8c (patch) | |
| tree | cff7a82ef05fe542cf7eb97ee766417188721da3 | |
| parent | Fix for doc reference to python "raise" statement (diff) | |
| download | discord.py-ee3e2944ba074a2687bece742a3ad3f596f0ff8c.tar.xz discord.py-ee3e2944ba074a2687bece742a3ad3f596f0ff8c.zip | |
Add Colour.fuchsia and Colour.yellow
| -rw-r--r-- | discord/colour.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/discord/colour.py b/discord/colour.py index 764cf6e2..4e19f704 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -288,4 +288,21 @@ class Colour: """ return cls(0x36393F) + @classmethod + def fuchsia(cls: Type[CT]) -> CT: + """A factory method that returns a :class:`Colour` with a value of ``0xB459E``. + + .. versionadded:: 2.0 + """ + return cls(0xEB459E) + + @classmethod + def yellow(cls: Type[CT]) -> CT: + """A factory method that returns a :class:`Colour` with a value of ``0xFEE75C``. + + .. versionadded:: 2.0 + """ + return cls(0xFEE75C) + + Color = Colour |