aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py1
-rw-r--r--config-default.yml4
2 files changed, 5 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index fd280e9de..3003c9d36 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -541,6 +541,7 @@ class HelpChannels(metaclass=YAMLGetter):
claim_minutes: int
cmd_whitelist: List[int]
idle_minutes: int
+ deleted_idle_minutes: int
max_available: int
max_total_channels: int
name_prefix: str
diff --git a/config-default.yml b/config-default.yml
index 83ea59016..2e8a777ba 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -529,6 +529,10 @@ help_channels:
# Allowed duration of inactivity before making a channel dormant
idle_minutes: 30
+ # Allowed duration of inactivity when question message deleted
+ # and no one other sent before message making channel dormant.
+ deleted_idle_minutes: 5
+
# Maximum number of channels to put in the available category
max_available: 2