Configuration
This module blocks words based on a configurable list and performs actions when they are blocked.
General
modules:
# Allows you to block or censor words from a list
# It also detects similar words; for example:
# If the word "hello" is blocked, "he llo" will also be blocked
#
# Blocked words module loaded from modules/blockedwords.yml
blocked-words: truemodules.blocked-words: Enable/disable the module
Module
Action
# What to do when a blocked word is detected:
# - CENSOR: Replace only the matched characters with censor-char (partial)
# - CENSOR_ALL: Replace the entire message with censor-char repeated
# - BLOCK: Cancel the message entirely
action: CENSORCENSOR: It censors ONLY the blocked word, for example:. If you block "hello" and type "hellos," the result will be "*****s".
CENSOR_ALL: Censor the blocked word and the rest of the word. If you block "hello" and type "hellos," the result will be "******".
BLOCK: Blocks the message when a blocked word is detected and sends a message.
Blocked Words
The list of all blocked words
Last updated