mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-27 20:39:08 +00:00
[AB-106] adding deletion duration to ban command
removing banDelete command updating deletion days to deletion duration
This commit is contained in:
@@ -27,11 +27,11 @@
|
|||||||
"name": "<@safe_include "ban_log_reason_field_title"/>",
|
"name": "<@safe_include "ban_log_reason_field_title"/>",
|
||||||
"value": "${reason?json_string}"
|
"value": "${reason?json_string}"
|
||||||
}
|
}
|
||||||
<#if deletionDays gt 0>
|
<#if deletionDuration?has_content>
|
||||||
,
|
,
|
||||||
{
|
{
|
||||||
"name": "<@safe_include "ban_log_deletion_days_field_title"/>",
|
"name": "<@safe_include "ban_log_deletion_duration_field_title"/>",
|
||||||
"value": "${deletionDays?c}"
|
"value": "${fmtDuration(deletionDuration)}"
|
||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
Deletion days
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Deletion duration
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The duration to delete messages for.
|
||||||
@@ -1 +0,0 @@
|
|||||||
Deletes messages of a member and bans them
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
This command can be used to ban a user and delete their messages for at most 7 days.
|
|
||||||
If a time period is provided, only the day portion will be considered. For example: 1d20h will only delete messages for one day.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The time period (in days) for which messages should be deleted in
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The reason for the ban
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The user to ban
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Deletion days
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Deletion duration
|
||||||
Reference in New Issue
Block a user