diff options
Diffstat (limited to 'docs/ext/commands')
| -rw-r--r-- | docs/ext/commands/api.rst | 3 | ||||
| -rw-r--r-- | docs/ext/commands/commands.rst | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index 9fae2355..0f61be2f 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -173,6 +173,9 @@ Converters .. autoclass:: discord.ext.commands.EmojiConverter :members: +.. autoclass:: discord.ext.commands.PartialEmojiConverter + :members: + .. autoclass:: discord.ext.commands.clean_content :members: diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index d1957438..336ed5de 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -310,6 +310,7 @@ A lot of discord models work out of the gate as a parameter: - :class:`Invite` - :class:`Game` - :class:`Emoji` +- :class:`PartialEmoji` - :class:`Colour` Having any of these set as the converter will intelligently convert the argument to the appropriate target type you @@ -339,6 +340,8 @@ converter is given below: +-----------------------+-------------------------------------------------+ | :class:`Emoji` | :class:`~ext.commands.EmojiConverter` | +-----------------------+-------------------------------------------------+ +| :class:`PartialEmoji` | :class:`~ext.commands.PartialEmojiConverter` | ++-----------------------+-------------------------------------------------+ | :class:`Colour` | :class:`~ext.commands.ColourConverter` | +-----------------------+-------------------------------------------------+ |