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:
@@ -6,6 +6,15 @@ from .. import configs
|
|||||||
class Guild(DiscordModelsBase):
|
class Guild(DiscordModelsBase):
|
||||||
"""Class representing discord Guild the user is part of.
|
"""Class representing discord Guild the user is part of.
|
||||||
|
|
||||||
|
Operations
|
||||||
|
----------
|
||||||
|
x == y
|
||||||
|
Checks if two guild's are the same.
|
||||||
|
x != y
|
||||||
|
Checks if two guild's are not the same.
|
||||||
|
str(x)
|
||||||
|
Returns the guild's name.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
id : int
|
id : int
|
||||||
|
|||||||
Reference in New Issue
Block a user