diff --git a/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/ModerationSettings.java b/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/ModerationSettings.java index 6d4a932b..2c9165d8 100644 --- a/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/ModerationSettings.java +++ b/CarbonChat-API/src/main/java/net/draycia/carbon/api/config/ModerationSettings.java @@ -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 blockedPatterns = Collections.singletonList(Pattern.compile("pineapple doesn't belong on pizza")); public boolean enabled() { diff --git a/CarbonChat-Common/src/main/resources/moderation.yml b/CarbonChat-Common/src/main/resources/moderation.yml index 6fb1e1d5..d5c7d27e 100644 --- a/CarbonChat-Common/src/main/resources/moderation.yml +++ b/CarbonChat-Common/src/main/resources/moderation.yml @@ -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