Fix docs for blocked patterns setting

This commit is contained in:
Draycia committed 2020-12-03 17:27:03 -08:00
1 parent 13e944232b
commit 4f04eba177
2 files changed
+2 -2

No files matched your search

@@ -139,7 +139,7 @@ public final class ModerationSettings {
@Setting
@Comment("Anything in blocked-words will prevent the message from being sent at all.\n" +
"Set to blocked-words: [] if you want to disable the blocked words feature.")
"Set to blocked-patterns: [] if you want to disable the blocked words feature.")
private List<Pattern> blockedPatterns = Collections.singletonList(Pattern.compile("pineapple doesn't belong on pizza"));
public boolean enabled() {
@@ -16,7 +16,7 @@ clear-chat:
filters:
# 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.
# Set to blocked-patterns: [] if you want to disable the blocked words feature.
blocked-patterns:
- pineapple doesn't belong on pizza
# If filtering / replacements is enabled