Fix User.accent_color incorrect attribute access
This commit is contained in:
parent
608e3b5b6c
commit
06a371e80a
@ -157,9 +157,9 @@ class BaseUser(_UserTag):
|
|||||||
|
|
||||||
This information is only available via :meth:`Client.fetch_user`.
|
This information is only available via :meth:`Client.fetch_user`.
|
||||||
"""
|
"""
|
||||||
if self._accent_color is None:
|
if self._accent_colour is None:
|
||||||
return None
|
return None
|
||||||
return Colour(self._accent_color)
|
return Colour(self._accent_colour)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def accent_color(self) -> Optional[Colour]:
|
def accent_color(self) -> Optional[Colour]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user