aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-12-17 06:17:05 -0500
committerRapptz <[email protected]>2015-12-17 06:18:08 -0500
commit63565026c43ddc467e3949efa1b0c658c4d7a2f5 (patch)
tree22d9090ce7f0bd70f545def18335d0d9df6cbf61 /docs/api.rst
parentAll update related events now pass in the previous state. (diff)
downloaddiscord.py-63565026c43ddc467e3949efa1b0c658c4d7a2f5.tar.xz
discord.py-63565026c43ddc467e3949efa1b0c658c4d7a2f5.zip
Remove on_status event. Superseded by on_member_update.
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst9
1 files changed, 1 insertions, 8 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 6b4356c9..22d8e37c 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -207,14 +207,6 @@ 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)
-
- 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_status: The status the member had before it changed.
-
.. function:: on_channel_delete(channel)
on_channel_create(channel)
@@ -250,6 +242,7 @@ to handle it, which defaults to print a traceback and ignore the exception.
- game playing
- avatar
- nickname
+ - roles
:param before: The :class:`Member` that updated their profile with the old info.
:param after: The :class:`Member` that updated their profile with the updated info.