aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSebastian Law <[email protected]>2021-01-24 02:16:32 -0800
committerGitHub <[email protected]>2021-01-24 05:16:32 -0500
commite0e60a2f625002fd01887f0a1ae37e993acb5944 (patch)
tree18428ee1c6aa43057edc0212e3e1a3d6abfb13a4 /docs
parentClarify on_raw_message_edit cached message nature (diff)
downloaddiscord.py-e0e60a2f625002fd01887f0a1ae37e993acb5944.tar.xz
discord.py-e0e60a2f625002fd01887f0a1ae37e993acb5944.zip
[commands] document PartialMessageConverter
Diffstat (limited to 'docs')
-rw-r--r--docs/ext/commands/api.rst3
-rw-r--r--docs/ext/commands/commands.rst3
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst
index a022a4e3..86ceeb2a 100644
--- a/docs/ext/commands/api.rst
+++ b/docs/ext/commands/api.rst
@@ -281,6 +281,9 @@ Converters
.. autoclass:: discord.ext.commands.MessageConverter
:members:
+.. autoclass:: discord.ext.commands.PartialMessageConverter
+ :members:
+
.. autoclass:: discord.ext.commands.TextChannelConverter
:members:
diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst
index c2396f38..1008d637 100644
--- a/docs/ext/commands/commands.rst
+++ b/docs/ext/commands/commands.rst
@@ -378,6 +378,7 @@ A lot of discord models work out of the gate as a parameter:
- :class:`CategoryChannel`
- :class:`Role`
- :class:`Message` (since v1.1)
+- :class:`PartialMessage` (since v1.7)
- :class:`Invite`
- :class:`Game`
- :class:`Emoji`
@@ -397,6 +398,8 @@ converter is given below:
+--------------------------+-------------------------------------------------+
| :class:`Message` | :class:`~ext.commands.MessageConverter` |
+--------------------------+-------------------------------------------------+
+| :class:`PartialMessage` | :class:`~ext.commands.PartialMessageConveter` |
++--------------------------+-------------------------------------------------+
| :class:`User` | :class:`~ext.commands.UserConverter` |
+--------------------------+-------------------------------------------------+
| :class:`TextChannel` | :class:`~ext.commands.TextChannelConverter` |