diff options
| author | Gorialis <[email protected]> | 2018-01-02 07:59:51 +0900 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-01-06 17:32:25 -0500 |
| commit | 04d9dd9c0dc82b4d870c6269ecc3a9e46cd7292e (patch) | |
| tree | 4f3060a57302181cf9287786be2655aad5f985a0 /docs/ext | |
| parent | Add intersphinx (diff) | |
| download | discord.py-04d9dd9c0dc82b4d870c6269ecc3a9e46cd7292e.tar.xz discord.py-04d9dd9c0dc82b4d870c6269ecc3a9e46cd7292e.zip | |
Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter
Diffstat (limited to 'docs/ext')
| -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` | +-----------------------+-------------------------------------------------+ |