aboutsummaryrefslogtreecommitdiff
path: root/discord/member.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-20 02:08:34 -0400
committerRapptz <[email protected]>2017-05-20 02:08:34 -0400
commitf4e01b3a9289b294ad559263fed0826c111700b2 (patch)
treeb64b3ce601c9f7d1e9be8381e86146686647afce /discord/member.py
parentKill remaining references to discord.Channel in documentation. (diff)
downloaddiscord.py-f4e01b3a9289b294ad559263fed0826c111700b2.tar.xz
discord.py-f4e01b3a9289b294ad559263fed0826c111700b2.zip
Make supported operations stand out more than attributes.
Diffstat (limited to 'discord/member.py')
-rw-r--r--discord/member.py22
1 files changed, 12 insertions, 10 deletions
diff --git a/discord/member.py b/discord/member.py
index a91f60d1..6c9dc12e 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -114,23 +114,25 @@ class Member(discord.abc.Messageable, _BaseUser):
This implements a lot of the functionality of :class:`User`.
- .. describe:: x == y
+ .. container:: operations
- Checks if two members are equal.
- Note that this works with :class:`User` instances too.
+ .. describe:: x == y
- .. describe:: x != y
+ Checks if two members are equal.
+ Note that this works with :class:`User` instances too.
- Checks if two members are not equal.
- Note that this works with :class:`User` instances too.
+ .. describe:: x != y
- .. describe:: hash(x)
+ Checks if two members are not equal.
+ Note that this works with :class:`User` instances too.
- Returns the member's hash.
+ .. describe:: hash(x)
- .. describe:: str(x)
+ Returns the member's hash.
- Returns the member's name with the discriminator.
+ .. describe:: str(x)
+
+ Returns the member's name with the discriminator.
Attributes
----------