Reduce strike action timeout from 1 hour to 5 minutes
- Updated strike level 3 timeout duration from 3600s (1 hour) to 300s (5 minutes) - Changes applied across models, config defaults, templates, schemas, and tests - Makes moderation system less harsh while maintaining discipline
This commit is contained in:
@@ -115,7 +115,7 @@ class GuildDefaults(BaseModel):
|
||||
strike_actions: dict = Field(
|
||||
default_factory=lambda: {
|
||||
"1": {"action": "warn"},
|
||||
"3": {"action": "timeout", "duration": 3600},
|
||||
"3": {"action": "timeout", "duration": 300},
|
||||
"5": {"action": "kick"},
|
||||
"7": {"action": "ban"},
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ class GuildSettings(Base, TimestampMixin):
|
||||
JSONB().with_variant(JSON(), "sqlite"),
|
||||
default=lambda: {
|
||||
"1": {"action": "warn"},
|
||||
"3": {"action": "timeout", "duration": 3600},
|
||||
"3": {"action": "timeout", "duration": 300},
|
||||
"5": {"action": "kick"},
|
||||
"7": {"action": "ban"},
|
||||
},
|
||||
|
||||
@@ -420,7 +420,7 @@ class FileConfigurationManager:
|
||||
"link_filter_enabled": False,
|
||||
"strike_actions": {
|
||||
"1": {"action": "warn"},
|
||||
"3": {"action": "timeout", "duration": 3600},
|
||||
"3": {"action": "timeout", "duration": 300},
|
||||
"5": {"action": "kick"},
|
||||
"7": {"action": "ban"}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user