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:
@@ -6,6 +6,15 @@ from .. import configs
|
||||
class Guild(DiscordModelsBase):
|
||||
"""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
|
||||
----------
|
||||
id : int
|
||||
|
||||
Reference in New Issue
Block a user