mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Improve moderation docs
This commit is contained in:
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")) {
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user