mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add on_channel_delete event.
This commit is contained in:
1 parent
1f980361e3
commit
3346b28fee
2 files changed
+17
No files matched your search
@@ -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
|
||||
--------------
|
||||
|
||||
Reference in new issue
Block a user