Fix colour properties being displayed as methods in the documentation.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user