From 2f61d086e4f66eec77ed53edee3f3578639d4e4e Mon Sep 17 00:00:00 2001 From: SamSchlegel Date: Wed, 23 Dec 2015 17:35:09 -0500 Subject: Game information is now represented in a Game object --- docs/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/api.rst') diff --git a/docs/api.rst b/docs/api.rst index 935f05dc..c3541f92 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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) -- cgit v1.2.3