Merge pull request #22

* add nitro booster color

* Update discord/colour.py
This commit is contained in:
NightSlasher35 2021-09-02 20:34:41 +01:00 committed by GitHub
parent 42c0a8d8a5
commit 0f6db99c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,6 +251,13 @@ class Colour:
def red(cls: Type[CT]) -> CT:
"""A factory method that returns a :class:`Colour` with a value of ``0xe74c3c``."""
return cls(0xe74c3c)
@classmethod
def nitro_booster(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0xf47fff``.
.. versionadded:: 2.0"""
return cls(0xf47fff)
@classmethod
def dark_red(cls: Type[CT]) -> CT: