Documentation fixes and version bump.
This commit is contained in:
parent
eed4b428aa
commit
73919fe152
@ -15,8 +15,8 @@ __title__ = 'discord'
|
|||||||
__author__ = 'Rapptz'
|
__author__ = 'Rapptz'
|
||||||
__license__ = 'MIT'
|
__license__ = 'MIT'
|
||||||
__copyright__ = 'Copyright 2015 Rapptz'
|
__copyright__ = 'Copyright 2015 Rapptz'
|
||||||
__version__ = '0.4.1'
|
__version__ = '0.5.0'
|
||||||
__build__ = 0x004010
|
__build__ = 0x005000
|
||||||
|
|
||||||
from .client import Client
|
from .client import Client
|
||||||
from .user import User
|
from .user import User
|
||||||
|
@ -18,7 +18,7 @@ Event Reference
|
|||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
This page outlines the different types of events listened to by :meth:`Client.event`.
|
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()
|
.. 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 before: A :class:`Message` of the previous version of the message.
|
||||||
:param after: A :class:`Message` of the current 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.
|
Called whenever a :class:`Member` changes their status or game playing status.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user