Add on_channel_delete event.

This commit is contained in:
Rapptz
2015-08-23 02:53:56 -04:00
parent 1f980361e3
commit 3346b28fee
2 changed files with 17 additions and 0 deletions

View File

@ -63,6 +63,13 @@ All events are 'sandboxed', in that if an exception is thrown while the event is
:param status: The new status of the user.
:param game_id: The game ID that the user is playing. Can be None.
.. function:: on_channel_delete(channel)
Called whenever a channel is removed from a server.
Note that you can get the server from :attr:`Channel.server`.
:param channel: The :class:`Channel` that got deleted.
Data Classes
--------------