Improve moderation docs

This commit is contained in:
Draycia committed 2020-09-03 23:29:17 -07:00
1 parent 8045a71733
commit 5ed153b641
2 files changed
+2 -1

No files matched your search

@@ -51,7 +51,6 @@ public class FilterHandler implements Listener {
}
}
for (String replacement : config.getStringList("filters.blocked-words")) {
for (String word : filters.getStringList(replacement)) {
if (carbonChat.getModConfig().getBoolean("filters.case-sensitive")) {
+2
View File
@@ -11,6 +11,7 @@ filters:
case-sensitive: false
# The keys ("****" for example) are what the text is replaced with
# The strings in the lists ("lag" etc) are what's replaced
# Set to filters: {} if you want to disable the filter feature.
filters:
# In this example, any instance of "lag" or "laggggg" will be replaced with "****"
"****":
@@ -20,6 +21,7 @@ filters:
"_":
- "broccoli sucks"
# Anything in blocked-words will prevent the message from being sent at all.
# Set to blocked-words: [] if you want to disable the blocked words feature.
blocked-words:
- "pineapple doesn't belong on pizza"