Third-party invite protection
Configure the module to protect against third-party invitations.
Introduction
This module deletes messages that contain third-party invitation links and penalizes the member who sent it.
Configuration
The module can be configured via the /antiinvites 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}}, advertising of servers is forbidden on this server! You have been muted for {{time}}.