aboutsummaryrefslogtreecommitdiff
path: root/discord/reaction.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/reaction.py')
-rw-r--r--discord/reaction.py30
1 files changed, 17 insertions, 13 deletions
diff --git a/discord/reaction.py b/discord/reaction.py
index d4a7bcdf..96862074 100644
--- a/discord/reaction.py
+++ b/discord/reaction.py
@@ -32,19 +32,23 @@ class Reaction:
Depending on the way this object was created, some of the attributes can
have a value of ``None``.
- Similar to members, the same reaction to a different message are equal.
-
- Supported Operations:
-
- +-----------+-------------------------------------------+
- | Operation | Description |
- +===========+===========================================+
- | x == y | Checks if two reactions are the same. |
- +-----------+-------------------------------------------+
- | x != y | Checks if two reactions are not the same. |
- +-----------+-------------------------------------------+
- | hash(x) | Return the emoji's hash. |
- +-----------+-------------------------------------------+
+ .. describe:: x == y
+
+ Checks if two reactions are equal. This works by checking if the emoji
+ is the same. So two messages with the same reaction will be considered
+ "equal".
+
+ .. describe:: x != y
+
+ Checks if two reactions are not equal.
+
+ .. describe:: hash(x)
+
+ Returns the reaction's hash.
+
+ .. describe:: str(x)
+
+ Returns the channel's name.
Attributes
-----------