mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-11-04 15:33:08 +00:00
Game information is now represented in a Game object
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user