aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-09-05 01:05:08 -0400
committerRapptz <[email protected]>2015-09-05 01:05:08 -0400
commit73919fe1523d6b5e2e61d01b493a080a68766eb0 (patch)
tree86e6e1c0e9e5bb707bdcefda0700c165b4527304
parentAdd the ability to accept invites. (diff)
downloaddiscord.py-73919fe1523d6b5e2e61d01b493a080a68766eb0.tar.xz
discord.py-73919fe1523d6b5e2e61d01b493a080a68766eb0.zip
Documentation fixes and version bump.v0.5.0
-rw-r--r--discord/__init__.py4
-rw-r--r--discord/client.py2
-rw-r--r--docs/api.rst4
3 files changed, 5 insertions, 5 deletions
diff --git a/discord/__init__.py b/discord/__init__.py
index 55023f7b..28bdc561 100644
--- a/discord/__init__.py
+++ b/discord/__init__.py
@@ -15,8 +15,8 @@ __title__ = 'discord'
__author__ = 'Rapptz'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015 Rapptz'
-__version__ = '0.4.1'
-__build__ = 0x004010
+__version__ = '0.5.0'
+__build__ = 0x005000
from .client import Client
from .user import User
diff --git a/discord/client.py b/discord/client.py
index 5789482c..6934d943 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -79,7 +79,7 @@ class Client(object):
.. attribute:: messages
A deque_ of :class:`Message` that the client has received from all servers and private messages.
- .. attribute:: email
+ .. attribute:: email
The email used to login. This is only set if login is successful, otherwise it's None.
diff --git a/docs/api.rst b/docs/api.rst
index 0081f29e..38735333 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -18,7 +18,7 @@ Event Reference
~~~~~~~~~~~~~~~~
This page outlines the different types of events listened to by :meth:`Client.event`.
-All events are 'sandboxed', in that if an exception is thrown while the event is called then it is caught and then ignored.
+All events are 'sandboxed', in that if an exception is thrown while the event is called then it is caught and propagated to :func:`on_error`.
.. function:: on_ready()
@@ -69,7 +69,7 @@ All events are 'sandboxed', in that if an exception is thrown while the event is
:param before: A :class:`Message` of the previous version of the message.
:param after: A :class:`Message` of the current version of the message.
-.. function:: on_status(member):
+.. function:: on_status(member)
Called whenever a :class:`Member` changes their status or game playing status.