From f4e01b3a9289b294ad559263fed0826c111700b2 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 20 May 2017 02:08:34 -0400 Subject: Make supported operations stand out more than attributes. --- discord/reaction.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'discord/reaction.py') diff --git a/discord/reaction.py b/discord/reaction.py index 96862074..833f1b3d 100644 --- a/discord/reaction.py +++ b/discord/reaction.py @@ -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 ----------- -- cgit v1.2.3