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/api.rst | |
| 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/api.rst')
| -rw-r--r-- | docs/api.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/api.rst b/docs/api.rst index 16254a75..214fd8c8 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -304,7 +304,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. called regardless of the state of the internal message cache. :param emoji: The custom or unicode emoji being reacted to. - :type emoji: :class:`PartialReactionEmoji` + :type emoji: :class:`PartialEmoji` :param int message_id: The message ID of the message being reacted. :param int channel_id: The channel ID where the message belongs to. :param int user_id: The user ID of the user who did the reaction. @@ -328,7 +328,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. called regardless of the state of the internal message cache. :param emoji: The custom or unicode emoji that got un-reacted. - :type emoji: :class:`PartialReactionEmoji` + :type emoji: :class:`PartialEmoji` :param int message_id: The message ID of the message being un-reacted. :param int channel_id: The channel ID where the message belongs to. :param int user_id: The user ID of the user who removed the reaction. @@ -1888,10 +1888,10 @@ Emoji .. autoclass:: Emoji() :members: -PartialReactionEmoji +PartialEmoji ~~~~~~~~~~~~~~~~~~~~~~ -.. autoclass:: PartialReactionEmoji() +.. autoclass:: PartialEmoji() :members: Role |