Browse Source

Add more detailed description to accent_colour

pull/10109/head
invalid-user 3 years ago
committed by dolfies
parent
commit
5a838f6e0b
  1. 6
      discord/user.py

6
discord/user.py

@ -399,6 +399,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
@ -415,6 +418,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…
Cancel
Save