Browse Source

Document supported operations in discord.User

pull/42/merge
Rapptz 9 years ago
parent
commit
7c060ee7f6
  1. 12
      discord/user.py

12
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

Loading…
Cancel
Save