mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 18:33:02 +00:00
Make supported operations stand out more than attributes.
This commit is contained in:
@ -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
|
||||
----------
|
||||
|
Reference in New Issue
Block a user