aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-11-30 03:15:56 -0500
committerRapptz <[email protected]>2015-11-30 03:15:56 -0500
commit31fd5023f1ac740d7118b1fd49349c5502160cc5 (patch)
treeb7dc01adb396579a244a57be8ee15361b049c45e
parentProvide server/channel id/name as Object if client not joined to server. (diff)
downloaddiscord.py-31fd5023f1ac740d7118b1fd49349c5502160cc5.tar.xz
discord.py-31fd5023f1ac740d7118b1fd49349c5502160cc5.zip
Miscellaneous documentation fixes.
-rw-r--r--discord/client.py2
-rw-r--r--docs/api.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py
index 3ef13ca4..cac3ee0d 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 7f289ce4..39b96014 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)