Add blocked-words filter

This commit is contained in:
Draycia committed 2020-07-30 23:21:08 -07:00
1 parent 70ca812c59
commit 88af664e61
2 files changed
+14

No files matched your search

@@ -6,12 +6,18 @@ caps-protection:
filters:
enabled: true
# The keys ("****" for example) are what the text is replaced with
# The strings in the lists ("lag" etc) are what's replaced
filters:
# In this example, any instance of "lag" or "laggggg" will be replaced with "****"
"****":
- "lag"
- "la[g]+"
"":
- "broccoli sucks"
# Anything in blocked-words will prevent the message from being sent at all.
blocked-words:
- "pineapple doesn't belong on pizza"
channels:
- '*' # Use '*' to mean all channels