aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-03-04 12:17:32 +0000
committerGravatar wookie184 <[email protected]>2023-03-04 12:17:32 +0000
commitca40036b17135f2abdcb27e56b950a80b584537e (patch)
tree4f0370f66f471100eb4102b21a2bfd2e18a6a178
parentUse get_or_fetch_channel instead of get_channel (diff)
Bump inactivity removal threshold and display in message
-rw-r--r--bot/exts/recruitment/talentpool/_cog.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py
index bf4f2416e..7a9db7886 100644
--- a/bot/exts/recruitment/talentpool/_cog.py
+++ b/bot/exts/recruitment/talentpool/_cog.py
@@ -27,7 +27,7 @@ REASON_MAX_CHARS = 1000
# The number of days that a user can have no activity (no messages sent)
# until they should be removed from the talentpool.
-DAYS_UNTIL_INACTIVE = 30
+DAYS_UNTIL_INACTIVE = 45
log = get_logger(__name__)
@@ -156,7 +156,8 @@ class TalentPool(Cog, name="Talentpool"):
await nomination_discussion.send(
f":warning: <@{nomination.user_id}> ({nomination.user_id})"
- " was removed from the talentpool due to inactivity."
+ " was removed from the talentpool as they have sent no messages"
+ f" in the past {DAYS_UNTIL_INACTIVE} days."
)
await self.api.edit_nomination(
nomination.id,