From 5a838f6e0be5c2dd07e17bc84d9a43ef10a190c4 Mon Sep 17 00:00:00 2001 From: invalid-user <77624311+rperson1508@users.noreply.github.com> Date: Fri, 13 May 2022 10:06:28 +0800 Subject: [PATCH] Add more detailed description to accent_colour --- discord/user.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/discord/user.py b/discord/user.py index 4c449f1b5..0278d2df1 100644 --- a/discord/user.py +++ b/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