mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 16:51:59 +00:00
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`.
|
||||
"""
|
||||
if self._accent_color is None:
|
||||
if self._accent_colour is None:
|
||||
return None
|
||||
return Colour(self._accent_color)
|
||||
return Colour(self._accent_colour)
|
||||
|
||||
@property
|
||||
def accent_color(self) -> Optional[Colour]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user