[AB-339] adjusting templates for softBan to banDelete change

This commit is contained in:
Sheldan
2021-10-25 01:22:29 +02:00
parent 479c100220
commit ad5dfaefed
9 changed files with 12 additions and 4 deletions

View File

@@ -22,5 +22,12 @@
"name": "<@safe_include "ban_log_reason_field_title"/>",
"value": "${reason?json_string}"
}
<#if deletionDays gt 0>
,
{
"name": "<@safe_include "ban_log_deletion_days_field_title"/>",
"value": "${deletionDays?c}"
}
</#if>
]
}

View File

@@ -0,0 +1 @@
Deletes messages of a member and bans them

View File

@@ -1,3 +1,2 @@
This command can be used to delete the messages of a user for at most 7 days.
This is done by banning (and deleting messages) the user and immediately unbanning them.
This command can be used to delete the messages of a user for at most 7 days and ban the user in the same command.
If a time period is provided, only the day portion will be considered. For example: 1d20h will only delete messages for one day.

View File

@@ -1 +0,0 @@
Deletes messages of a member and kicks them