Spam protection
Configure the module to protect against spam.
Introduction
This module monitors the chat and penalizes overly active participants.
A penalty is issued if a user has sent:
- 4 messages with similar content in 30 seconds;
- 7 messages in 13 seconds;
- 3 identical images in 20 seconds;
- 2 messages, the content of which consists of capital characters more than half in 10 seconds.
Configuration
The module can be configured via the /antispam command. After sending the command you will see the control panel, with the help of which you can enable or disable the module, change the message and so on.
What is configurable?
You can configure following settings:
- Whether the module is enabled
- Whether the auto mute is enabled and its duration
- Whether the auto warn is enabled
- Whitelist of roles (the module won't work for members that have at least one role that is in the whitelist) and channels (the module won't check messages in the channels that are in the whitelist)
- Message that will be sent when the module is triggered
- Channel to send message in
Message variables
You can use variables in the message. They should be specified in double brackets {{...}}. The available variables are:
Variable | Contains |
---|---|
user | Mention of the offender |
user.tag | Their tag |
user.id | Their ID |
time | Their mute duration |
reason | Their mute reason |
Example: {{user}}, spamming is forbidden on this server! You have been muted for {{time}}.