mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Add blocked-words filter
This commit is contained in:
1 parent
70ca812c59
commit
88af664e61
2 files changed
+14
No files matched your search
@@ -6,12 +6,18 @@ caps-protection:
|
||||
|
||||
filters:
|
||||
enabled: true
|
||||
# The keys ("****" for example) are what the text is replaced with
|
||||
# The strings in the lists ("lag" etc) are what's replaced
|
||||
filters:
|
||||
# In this example, any instance of "lag" or "laggggg" will be replaced with "****"
|
||||
"****":
|
||||
- "lag"
|
||||
- "la[g]+"
|
||||
"":
|
||||
- "broccoli sucks"
|
||||
# Anything in blocked-words will prevent the message from being sent at all.
|
||||
blocked-words:
|
||||
- "pineapple doesn't belong on pizza"
|
||||
channels:
|
||||
- '*' # Use '*' to mean all channels
|
||||
|
||||
|
||||
Reference in new issue
Block a user