aboutsummaryrefslogtreecommitdiff
path: root/discord/reaction.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/reaction.py')
-rw-r--r--discord/reaction.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/reaction.py b/discord/reaction.py
index 5c7c3620..2af74789 100644
--- a/discord/reaction.py
+++ b/discord/reaction.py
@@ -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):