Browse Source

[commands] document PartialMessageConverter

pull/6350/head
Sebastian Law 4 years ago
committed by GitHub
parent
commit
e0e60a2f62
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docs/ext/commands/api.rst
  2. 3
      docs/ext/commands/commands.rst

3
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:

3
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` |

Loading…
Cancel
Save