From 6decfd1d1aa08d0a00caced655b0eed9564735a6 Mon Sep 17 00:00:00 2001 From: kittenswolf Date: Fri, 1 May 2020 12:52:42 +0200 Subject: Fix colour properties being displayed as methods in the documentation. --- discord/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/user.py') diff --git a/discord/user.py b/discord/user.py index 2331ff49..77c0b473 100644 --- a/discord/user.py +++ b/discord/user.py @@ -197,7 +197,7 @@ class BaseUser(_BaseUser): """:class:`Colour`: A property that returns a colour denoting the rendered colour for the user. This always returns :meth:`Colour.default`. - There is an alias for this named :meth:`color`. + There is an alias for this named :attr:`color`. """ return Colour.default() @@ -206,7 +206,7 @@ class BaseUser(_BaseUser): """:class:`Colour`: A property that returns a color denoting the rendered color for the user. This always returns :meth:`Colour.default`. - There is an alias for this named :meth:`colour`. + There is an alias for this named :attr:`colour`. """ return self.colour -- cgit v1.2.3