mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add more detailed description to accent_colour
This commit is contained in:
parent
f780b0a283
commit
8eb2e19c41
@ -193,6 +193,9 @@ class BaseUser(_UserTag):
|
||||
def accent_colour(self) -> Optional[Colour]:
|
||||
"""Optional[:class:`Colour`]: Returns the user's accent colour, if applicable.
|
||||
|
||||
A user's accent colour is only shown if they do not have a banner.
|
||||
This will only be available if the user explicitly sets a colour.
|
||||
|
||||
There is an alias for this named :attr:`accent_color`.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
@ -209,6 +212,9 @@ class BaseUser(_UserTag):
|
||||
def accent_color(self) -> Optional[Colour]:
|
||||
"""Optional[:class:`Colour`]: Returns the user's accent color, if applicable.
|
||||
|
||||
A user's accent color is only shown if they do not have a banner.
|
||||
This will only be available if the user explicitly sets a color.
|
||||
|
||||
There is an alias for this named :attr:`accent_colour`.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user