From 2417e9dda0508293416674d8f42c2e9cf142ffc4 Mon Sep 17 00:00:00 2001 From: A-Trash-Coder Date: Wed, 20 May 2020 23:56:00 -0400 Subject: [PATCH] Add operations to the docstrings of guild and user --- flask_discord/models/guild.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flask_discord/models/guild.py b/flask_discord/models/guild.py index fe4318b..2ba5b21 100644 --- a/flask_discord/models/guild.py +++ b/flask_discord/models/guild.py @@ -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