mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
Fix colour properties being displayed as methods in the documentation.
This commit is contained in:
@@ -321,7 +321,7 @@ class Member(discord.abc.Messageable, _BaseUser):
|
||||
for the member. If the default colour is the one rendered then an instance
|
||||
of :meth:`Colour.default` is returned.
|
||||
|
||||
There is an alias for this named :meth:`color`.
|
||||
There is an alias for this named :attr:`color`.
|
||||
"""
|
||||
|
||||
roles = self.roles[1:] # remove @everyone
|
||||
@@ -340,7 +340,7 @@ class Member(discord.abc.Messageable, _BaseUser):
|
||||
the member. If the default color is the one rendered then an instance of :meth:`Colour.default`
|
||||
is returned.
|
||||
|
||||
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