Moderation(3) - LynxBot manual
DESCRIPTION
LynxBot can perform automatic Moderation of the chat.
There is a certain set of moderation rules, whose limits can be defined by the bot owner. Any regular (non-mod and non-subscriber) user who breaks one of these rules will automatically be timed out by LynxBot. Subsequent offences will result in greater punishments, culminating in a permanent ban after the fourth offense.
All moderation actions are logged in the file $CONFIGDIR/modlog.
RULES
-
Message length
Messages must be shorter than max_message_len characters (default: 300).
-
Repeated patterns (e.g. word spam)
A pattern in a message cannot be repeated more than max_pattern times (default: 6).
-
Repeated characters
A single character cannot be repeated more than max_char times (default: 15).
-
Capital letters
Messages longer than cap_len characters cannot consist of over cap_ratio% capital letters (default: 30, 80%).
-
URLs in chat
No links to websites not on the whitelist may be posted.
USAGE
The limits for all moderation rules are defined in the moderation section of the config file and the whitelist is stored in the whitelist section.
The whitelist command can be used to add websites to the whitelist, and the permit command grants users permission to post a single link.
SEE ALSO
mod(2), permit(2), whitelist(2), config(4), moderation(4), whitelist(4)