Add operations to the docstrings of guild and user

This commit is contained in:
A-Trash-Coder
2020-05-20 23:56:00 -04:00
parent eda1e4c1f2
commit 2417e9dda0

View File

@@ -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