Make supported operations stand out more than attributes.

This commit is contained in:
Rapptz
2017-05-20 02:08:34 -04:00
parent 3727618b65
commit f4e01b3a92
11 changed files with 169 additions and 127 deletions

View File

@ -32,23 +32,25 @@ class Reaction:
Depending on the way this object was created, some of the attributes can
have a value of ``None``.
.. describe:: x == y
.. container:: operations
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
.. 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".
Checks if two reactions are not equal.
.. describe:: x != y
.. describe:: hash(x)
Checks if two reactions are not equal.
Returns the reaction's hash.
.. describe:: hash(x)
.. describe:: str(x)
Returns the reaction's hash.
Returns the channel's name.
.. describe:: str(x)
Returns the channel's name.
Attributes
-----------