mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 04:19:31 +02:00
Add operations to the docstrings of guild and user
This commit is contained in:
@@ -9,6 +9,16 @@ from .connections import UserConnection
|
||||
class User(DiscordModelsBase):
|
||||
"""Class representing Discord User.
|
||||
|
||||
|
||||
Operations
|
||||
----------
|
||||
x == y
|
||||
Checks if two user's are the same.
|
||||
x != y
|
||||
Checks if two user's are not the same.
|
||||
str(x)
|
||||
Returns the user's name with discriminator.
|
||||
|
||||
Attributes
|
||||
----------
|
||||
id : int
|
||||
|
||||
Reference in New Issue
Block a user