aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-12-10 16:57:35 -0800
committerGravatar Xithrius <[email protected]>2020-12-10 16:57:35 -0800
commit77a8e420a69fdafb9fe96739d9d728c7a5d3638f (patch)
treec03564128232e6aa4737e0bfa8dae7aa825304e4
parentMerge branch 'moderation/user-from-metricity' of https://github.com/python-di... (diff)
Added docstring for the user activity function.
-rw-r--r--bot/exts/info/information.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py
index 26cf5fee3..8eec22c58 100644
--- a/bot/exts/info/information.py
+++ b/bot/exts/info/information.py
@@ -361,7 +361,12 @@ class Information(Cog):
return "Nominations", "\n".join(output)
async def user_verification_and_messages(self, user: FetchedMember) -> Tuple[Union[bool, str], Tuple[str, str]]:
- """Gets the time of verification and amount of messages for `member`."""
+ """
+ Gets the time of verification and amount of messages for `member`.
+
+ Fetches information from the metricity database that's hosted by the site.
+ If the database returns a code besides a 404, then many parts of the bot are broken including this one.
+ """
activity_output = []
verified_at = False