mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix colour properties being displayed as methods in the documentation.
This commit is contained in:
1 parent
b7c7c86a6b
commit
6decfd1d1a
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -549,14 +549,14 @@ class Spotify:
|
||||
def colour(self):
|
||||
"""Returns the Spotify integration colour, as a :class:`Colour`.
|
||||
|
||||
There is an alias for this named :meth:`color`"""
|
||||
There is an alias for this named :attr:`color`"""
|
||||
return Colour(0x1db954)
|
||||
|
||||
@property
|
||||
def color(self):
|
||||
"""Returns the Spotify integration colour, as a :class:`Colour`.
|
||||
|
||||
There is an alias for this named :meth:`colour`"""
|
||||
There is an alias for this named :attr:`colour`"""
|
||||
return self.colour
|
||||
|
||||
def to_dict(self):
|
||||
|
||||
Reference in new issue
Block a user