add a color
This commit is contained in:
parent
188b69c097
commit
ae0f11ce53
@ -29,6 +29,7 @@ Custom Features
|
||||
- Added support for ``str()`` to ``discord.Message``. This will return the message content
|
||||
- Added ``Guild.try_member``
|
||||
- Added ``Context.clean_prefix``
|
||||
- Added ``Color.nitro_booster``
|
||||
|
||||
Key Features
|
||||
-------------
|
||||
|
@ -336,6 +336,13 @@ class Colour:
|
||||
"""A factory method that returns a :class:`Colour` with a value of ``0xff7043``."""
|
||||
return cls(0xff7043)
|
||||
|
||||
@classmethod
|
||||
def nitro_booster(cls):
|
||||
"""A factory method that returns a :class:`Colour` with a value of ``0xf47fff``.
|
||||
|
||||
.. versionadded:: 1.5.1.5"""
|
||||
return cls(0xf47fff)
|
||||
|
||||
@classmethod
|
||||
def rust(cls):
|
||||
"""A factory method that returns a :class:`Colour` with a value of ``0xa83c09``."""
|
||||
|
@ -34,6 +34,7 @@ Custom Features
|
||||
- Added support for ``str()`` to ``discord.Message``. This will return the message content
|
||||
- Added ``Guild.try_member``
|
||||
- Added ``Context.clean_prefix``
|
||||
- Added ``Color.nitro_booster``
|
||||
|
||||
Features
|
||||
--------
|
||||
|
Loading…
x
Reference in New Issue
Block a user