mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Fix docs for blocked patterns setting
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user