aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-04-11 20:13:23 +0100
committerGitHub <[email protected]>2021-04-11 15:13:23 -0400
commitf1fac96e33e20d70859ebcf6bac439d406c04727 (patch)
tree6cf310d89eee76423617a1b0606e84a6b0b8ea9e /docs
parent[commands] Add support for Python 3.10 Union typing (diff)
downloaddiscord.py-f1fac96e33e20d70859ebcf6bac439d406c04727.tar.xz
discord.py-f1fac96e33e20d70859ebcf6bac439d406c04727.zip
Remove `private_channel_(delete/create)` events
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 0d073496..28615d3d 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -596,16 +596,6 @@ to handle it, which defaults to print a traceback and ignoring the exception.
:param interaction: The interaction data.
:type interaction: :class:`Interaction`
-.. function:: on_private_channel_delete(channel)
- on_private_channel_create(channel)
-
- Called whenever a private channel is deleted or created.
-
- This requires :attr:`Intents.messages` to be enabled.
-
- :param channel: The private channel that got created or deleted.
- :type channel: :class:`abc.PrivateChannel`
-
.. function:: on_private_channel_update(before, after)
Called whenever a private group DM is updated. e.g. changed name or topic.