diff options
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index a161fe97..79a58cd8 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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 -------------- |