aboutsummaryrefslogtreecommitdiff
path: root/discord/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/user.py')
-rw-r--r--discord/user.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/discord/user.py b/discord/user.py
index 3d3a38c5..35f39d94 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -39,19 +39,15 @@ class User(object):
| str(x) | Returns the user's name. |
+-----------+------------------------------------+
- Instance attributes:
-
- .. attribute:: name
-
+ Attributes
+ -----------
+ name : str
The user's username.
- .. attribute:: id
-
+ id : str
The user's unique ID.
- .. attribute:: discriminator
-
+ discriminator : str or int
The user's discriminator. This is given when the username has conflicts.
- .. attribute:: avatar
-
+ avatar : str
The avatar hash the user has. Could be None.
"""