Handle GUILD_MEMBER_REMOVE/GUILD_MEMBER_ADD events.

Thanks izy.
This commit is contained in:
Rapptz
2015-08-27 19:42:07 -04:00
parent 197e7c2861
commit b466a2615e
2 changed files with 26 additions and 6 deletions

View File

@ -73,6 +73,13 @@ All events are 'sandboxed', in that if an exception is thrown while the event is
:param channel: The :class:`Channel` that got added or deleted.
.. function:: on_member_join(member)
on_member_remove(member)
Called when a :class:`Member` leaves or joins a :class:`Server`.
:param member: The :class:`Member` that joined or left.
Data Classes
--------------