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/activity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/activity.py') diff --git a/discord/activity.py b/discord/activity.py index 3e7de839..cc4227f1 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -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): -- cgit v1.2.3