Add Spam Detection variables to config

This commit is contained in:
Ralph 2019-12-16 02:01:54 -05:00 committed by GitHub
parent 4970ab1c78
commit 9baf2926f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,5 +71,14 @@
"channelMapping": {
"#shared": "#lbry"
}
},
"spam_detection": {
"warnBuffer": 10,
"maxBuffermsg": 20,
"intervalms": 1000,
"warningMessage": ", Stop spamming or you will be banned! This is your warning!",
"banMessage": "has been banned for spamming!",
"maxDuplicatesWarning": 10,
"maxDuplicatesBan": 20
}
}