aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/user.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/discord/user.py b/discord/user.py
index 804850e1..3d3a38c5 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -27,6 +27,18 @@ DEALINGS IN THE SOFTWARE.
class User(object):
"""Represents a Discord user.
+ Supported Operations:
+
+ +-----------+------------------------------------+
+ | Operation | Description |
+ +===========+====================================+
+ | x == y | Checks if two users are equal. |
+ +-----------+------------------------------------+
+ | x != y | Checks if two users are not equal. |
+ +-----------+------------------------------------+
+ | str(x) | Returns the user's name. |
+ +-----------+------------------------------------+
+
Instance attributes:
.. attribute:: name