Permanent Sanctions
ban: Message for permanent ban.mute: Message for permanent mute.kick: Message for kicks.
The Custom Messages module (messages) is a Premium feature that allows you to change the default texts LA CABRA sends to users via direct message (DM) when they are sanctioned.
Permanent Sanctions
ban: Message for permanent ban.mute: Message for permanent mute.kick: Message for kicks.Temporary Sanctions
tempBan: Message for bans with a time limit.tempMute: Message for temporary mutes.warn: Message for warnings.You can use the following variables in your custom messages. The bot will automatically replace them with the corresponding information when applying the sanction:
| Variable | Description |
|---|---|
{server} |
The server’s name. |
{server.id} |
The server’s ID. |
{user} |
The name of the user who received the sanction. |
{user.id} |
The ID of the user who received the sanction. |
{moderator} |
The name of the moderator who gave the sanction. |
{moderator.id} |
The ID of the moderator who gave the sanction. |
{reason} |
The reason for the sanction (if none is provided, it will show: N/A). |
{time} |
When the sanction expires if it is temporary (if permanent, it will show: N/A). |
Configuration example
messages: enabled: true warn: 'You have received a warning on the server for breaking the rules.' ban: 'You have been permanently banned from the server.' tempBan: 'You have been temporarily banned from the server. You can return when the sanction ends.' mute: 'You have been permanently muted.' tempMute: 'You have been temporarily muted, please reflect on your actions.' kick: 'You have been kicked from the server. You can return, but be careful next time.'