Game information is now represented in a Game object

This commit is contained in:
SamSchlegel
2015-12-23 17:35:09 -05:00
committed by Khazhismel
parent 56a71e3166
commit 2f61d086e4
6 changed files with 73 additions and 15 deletions

View File

@@ -152,12 +152,12 @@ to handle it, which defaults to print a traceback and ignore the exception.
: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, old_game_id, old_status)
.. function:: on_status(member, old_game, old_status)
Called whenever a :class:`Member` changes their status or game playing status.
:param member: The :class:`Member` who has had their status changed.
:param old_game_id: The game ID the member had before it changed.
:param old_game_id: The :class:`Game` the member had before it changed.
:param old_status: The status the member had before it changed.
.. function:: on_channel_delete(channel)