mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 00:26:07 +02:00
feat: Implement spam protection with configurable limits and auto-mute escalation
This commit is contained in:
@@ -28,6 +28,19 @@
|
||||
"MaxAvatarSizeMB": 2,
|
||||
"MaxAttachmentsPerMessage": 10
|
||||
},
|
||||
"Spam": {
|
||||
"Enabled": true,
|
||||
"MaxMessagesPerWindow": 8,
|
||||
"WindowSeconds": 5,
|
||||
"MaxDuplicateMessages": 3,
|
||||
"AutoMuteMinutes": 5,
|
||||
"ViolationThreshold": 5,
|
||||
"ViolationWindowMinutes": 5,
|
||||
"MaxJoinsPerWindow": 25,
|
||||
"JoinWindowSeconds": 30,
|
||||
"MaxChannelCreatesPerWindow": 3,
|
||||
"ChannelCreateWindowMinutes": 10
|
||||
},
|
||||
"Encryption": {
|
||||
"Key": "",
|
||||
"EncryptDatabase": false
|
||||
|
||||
Reference in New Issue
Block a user