aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-31 16:06:42 +0000
committerGravatar Joe Banks <[email protected]>2020-10-31 16:06:42 +0000
commit765961e784ca5c1d949bd4b02251d3d3132760a8 (patch)
tree40ca443056fab56e31e4d5f050a86c18917e0531
parentFix incorrect argument for _send_log when filtering evals (diff)
Add new activity block constant
-rw-r--r--bot/constants.py1
-rw-r--r--config-default.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 23d5b4304..4d41f4eb2 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -600,6 +600,7 @@ class VoiceGate(metaclass=YAMLGetter):
minimum_days_verified: int
minimum_messages: int
bot_message_delete_delay: int
+ minimum_activity_blocks: int
class Event(Enum):
diff --git a/config-default.yml b/config-default.yml
index 071f6e1ec..a2cabf5fc 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -521,6 +521,7 @@ voice_gate:
minimum_days_verified: 3 # How many days the user must have been verified for
minimum_messages: 50 # How many messages a user must have to be eligible for voice
bot_message_delete_delay: 10 # Seconds before deleting bot's response in Voice Gate
+ minimum_activity_blocks: 3 # Number of 10 minute blocks during which a user must have been active
config: