From eda1e4c1f259f8b03597b494b46cc5ff27445559 Mon Sep 17 00:00:00 2001 From: A-Trash-Coder Date: Wed, 20 May 2020 23:55:15 -0400 Subject: [PATCH] Add operations to the docstrings of guild and user --- flask_discord/models/user.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/flask_discord/models/user.py b/flask_discord/models/user.py index 8878b38..34def4f 100644 --- a/flask_discord/models/user.py +++ b/flask_discord/models/user.py @@ -9,6 +9,16 @@ from .connections import UserConnection class User(DiscordModelsBase): """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 ---------- id : int