aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py3
-rw-r--r--config-default.yml8
2 files changed, 8 insertions, 3 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 394d59a73..b4d702e1d 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -592,7 +592,8 @@ class HelpChannels(metaclass=YAMLGetter):
enable: bool
claim_minutes: int
cmd_whitelist: List[int]
- idle_minutes: int
+ idle_minutes_claimant: int
+ idle_minutes_others: int
deleted_idle_minutes: int
max_available: int
max_total_channels: int
diff --git a/config-default.yml b/config-default.yml
index 49d7f84ac..9388ecb99 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -468,8 +468,12 @@ help_channels:
cmd_whitelist:
- *HELPERS_ROLE
- # Allowed duration of inactivity before making a channel dormant
- idle_minutes: 30
+ # Allowed duration of inactivity by claimant before making a channel dormant
+ idle_minutes_claimant: 30
+
+ # Allowed duration of inactivity by others before making a channel dormant
+ # `idle_minutes_claimant` must also be met, before a channel is closed
+ idle_minutes_others: 30
# Allowed duration of inactivity when channel is empty (due to deleted messages)
# before message making a channel dormant