mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-15 12:10:23 +00:00
[AB-339] adjusting templates for softBan to banDelete change
This commit is contained in:
@@ -22,5 +22,12 @@
|
|||||||
"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>
|
||||||
|
,
|
||||||
|
{
|
||||||
|
"name": "<@safe_include "ban_log_deletion_days_field_title"/>",
|
||||||
|
"value": "${deletionDays?c}"
|
||||||
|
}
|
||||||
|
</#if>
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Deletion days
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Deletes messages of a member and bans them
|
||||||
@@ -1,3 +1,2 @@
|
|||||||
This command can be used to delete the messages of a user for at most 7 days.
|
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.
|
||||||
This is done by banning (and deleting messages) the user and immediately unbanning them.
|
|
||||||
If a time period is provided, only the day portion will be considered. For example: 1d20h will only delete messages for one day.
|
If a time period is provided, only the day portion will be considered. For example: 1d20h will only delete messages for one day.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The reason for the ban
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The user to ban
|
||||||
@@ -1 +0,0 @@
|
|||||||
Deletes messages of a member and kicks them
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
The user to soft ban
|
|
||||||
Reference in New Issue
Block a user