mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 12:29:30 +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 User(DiscordModelsBase):
|
||||||
"""Class representing Discord User.
|
"""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
|
Attributes
|
||||||
----------
|
----------
|
||||||
id : int
|
id : int
|
||||||
|
|||||||
Reference in New Issue
Block a user