Documentation fixes and version bump.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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. | ||||
|  | ||||
|   | ||||
| @@ -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. | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user