Add more detailed description to accent_colour

This commit is contained in:
invalid-user authored and GitHub committed 2022-05-12 22:06:28 -04:00
1 parent f780b0a283
commit 8eb2e19c41
1 file changed
+6
+6
View File
@@ -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