aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pydis_site/apps/api/models/bot/metricity.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pydis_site/apps/api/models/bot/metricity.py b/pydis_site/apps/api/models/bot/metricity.py
index 60b2e73d..bb1db708 100644
--- a/pydis_site/apps/api/models/bot/metricity.py
+++ b/pydis_site/apps/api/models/bot/metricity.py
@@ -47,7 +47,11 @@ class Metricity:
return values[0]
def total_message_blocks(self, user_id: str) -> int:
- """Query number of 10 minute blocks the user has been active during."""
+ """
+ Query number of 10 minute blocks during which the user has been active.
+
+ This metric prevents users from spamming to achieve the message total threshold.
+ """
self.cursor.execute(
"""
SELECT