Browse Source

Add Colour.fuchsia and Colour.yellow

pull/6913/head
Arnav Jindal 4 years ago
committed by GitHub
parent
commit
ee3e2944ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      discord/colour.py

17
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

Loading…
Cancel
Save