mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Add intersphinx
This commit is contained in:
@ -54,11 +54,11 @@ class Reaction:
|
||||
|
||||
Attributes
|
||||
-----------
|
||||
emoji: :class:`Emoji` or str
|
||||
emoji: :class:`Emoji` or :class:`str`
|
||||
The reaction emoji. May be a custom emoji, or a unicode emoji.
|
||||
count: int
|
||||
count: :class:`int`
|
||||
Number of times this reaction was made
|
||||
me: bool
|
||||
me: :class:`bool`
|
||||
If the user sent this reaction.
|
||||
message: :class:`Message`
|
||||
Message this reaction is for.
|
||||
@ -73,7 +73,7 @@ class Reaction:
|
||||
|
||||
@property
|
||||
def custom_emoji(self):
|
||||
"""bool: If this is a custom emoji."""
|
||||
""":class:`bool`: If this is a custom emoji."""
|
||||
return not isinstance(self.emoji, str)
|
||||
|
||||
def __eq__(self, other):
|
||||
|
Reference in New Issue
Block a user