From e76c48f24cd1cca14d1a1f55edf88e94b9dfda60 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 2 Jun 2018 01:05:00 -0700 Subject: [PATCH] Initial config skeleton for antispam text filters (#359) --- example-conf.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/example-conf.yml b/example-conf.yml index 62bddaa..b5a2c55 100644 --- a/example-conf.yml +++ b/example-conf.yml @@ -839,7 +839,7 @@ stats: # set. #enabled: true - # Sets the punishment that Antispam should use to punish mass highlighters. + # Sets the punishment that Antispam should use against mass highlighters. # Valid values include "kill", "kick", "ban", "quiet", and combinations of these strung # together with "+" (e.g. "kick+ban"). Defaults to "kick+ban" if not set. #punishment: kick+ban @@ -851,3 +851,28 @@ stats: # mass highlight prevention to trigger. #min_length: 50 #min_nicks: 5 + + #textfilter: + # This block configures options for antispam's text spamfilters. It can also be overridden + # (as an entire block) per-network by copying its options under + # servers::::antispam_textfilter + + # Determines whether text spamfilters should be enabled. Defaults to false if not set. + #enabled: true + + # Sets the punishment that Antispam's text spamfilter should use. + # Valid values include "kill", "kick", "ban", "quiet", and combinations of these strung + # together with "+" (e.g. "kick+ban"). Defaults to "kick+ban" if not set. + #punishment: kick+ban + + # Sets the kick / kill message used when the text spamfilter is triggered. + #reason: "Spam is prohibited" + + # Configures a (case-insensitive) list of bad strings to block in messages (PRIVMSG, NOTICE). + # Globs are supported; use them to your advantage here. + # You can also define server specific lists of bad strings by defining + # servers::::antispam_textfilters_messages + # the contents of which will be merged into the global list specified below. + #textfilter_globs: + # - "*very bad don't say this*" + # - "TWFkZSB5b3UgbG9vayE="