From 31fd5023f1ac740d7118b1fd49349c5502160cc5 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 30 Nov 2015 03:15:56 -0500 Subject: [PATCH] Miscellaneous documentation fixes. --- discord/client.py | 2 +- docs/api.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/client.py b/discord/client.py index 3ef13ca4e..cac3ee0dd 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1221,7 +1221,7 @@ class Client(object): At the moment, the Discord API allows you to set the colour to any RGB value. This will change in the future so it is recommended that you use the constants in the :class:`Colour` instead such as - :attr:`Colour.NAVY_BLUE`. + :meth:`Colour.green`. :param server: The :class:`Server` the role belongs to. :param role: The :class:`Role` to edit. diff --git a/docs/api.rst b/docs/api.rst index 7f289ce45..39b96014a 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -156,7 +156,7 @@ to handle it, which defaults to print a traceback and ignore the exception. Called whenever a :class:`Member` changes their status or game playing status. - :param server: The :class:`Member` who has had their status changed. + :param member: The :class:`Member` who has had their status changed. .. function:: on_channel_delete(channel) on_channel_create(channel)