Browse Source
[commands] document PartialMessageConverter
pull/6350/head
Sebastian Law
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
0 deletions
-
docs/ext/commands/api.rst
-
docs/ext/commands/commands.rst
|
|
@ -281,6 +281,9 @@ Converters |
|
|
|
.. autoclass:: discord.ext.commands.MessageConverter |
|
|
|
:members: |
|
|
|
|
|
|
|
.. autoclass:: discord.ext.commands.PartialMessageConverter |
|
|
|
:members: |
|
|
|
|
|
|
|
.. autoclass:: discord.ext.commands.TextChannelConverter |
|
|
|
:members: |
|
|
|
|
|
|
|
|
|
@ -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` | |
|
|
|