mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-30 01:53:00 +00:00
[AB-167] adding templates for infraction tracking and post target disabling
adding some missing templates adding post target disabled state to post target output
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"description": "
|
"description": "
|
||||||
<#list postTargets as postTarget><#assign postTarget=postTarget/>
|
<#list postTargets as postTarget><#assign postTarget=postTarget/>
|
||||||
<#assign postTargetName>${postTarget.postTarget.name?json_string}</#assign>
|
<#assign postTargetName>${postTarget.postTarget.name?json_string}</#assign>
|
||||||
|
<#assign statusIndicator>${postTarget.disabled?string('❌', '✅')}</#assign>
|
||||||
<#assign channelMention><#if postTarget.channel?has_content>${postTarget.channel.asMention?json_string}<#else><@safe_include "posttarget_no_channel"/></#if></#assign>
|
<#assign channelMention><#if postTarget.channel?has_content>${postTarget.channel.asMention?json_string}<#else><@safe_include "posttarget_no_channel"/></#if></#assign>
|
||||||
<@safe_include "posttarget_post_target_text"/>
|
<@safe_include "posttarget_post_target_text"/>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<#assign postTargetKey=model.postTargetKey>
|
||||||
|
<#include "post_target_not_usable_exception_text">
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
<#include "user_detail">
|
||||||
|
<#include "full_member_info">
|
||||||
|
<#include "moderation_action_color">,
|
||||||
|
<#assign newLevel=newLevel>
|
||||||
|
<#assign oldLevel=oldLevel>
|
||||||
|
<#assign newPoints=newPoints>
|
||||||
|
<#assign oldPoints=oldPoints>
|
||||||
|
<#assign memberMention=member.memberMention>
|
||||||
|
"description" :"<@safe_include "infraction_level_notification_description"/>"
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Disables a post target
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
Post targets can be disabled, which means they will not be used to send any messages to.
|
||||||
|
Some features can ignore this, and just function normally, some features might require a post target to be enabled in order to function correctly.
|
||||||
|
Use the `posttarget` command to view the state of each post target.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The key of the post target to disable
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Enables a post target
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
Post targets can be disabled, which means they will not be used to send any messages to.
|
||||||
|
Some features can ignore this, and just function normally, some features might require a post target to be enabled in order to function correctly.
|
||||||
|
Use the `posttarget` command to view the state of each post target.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The key of the post target to enable
|
||||||
@@ -1 +0,0 @@
|
|||||||
The available post targets are
|
|
||||||
@@ -1 +1 @@
|
|||||||
Post target ${postTargetName} points to ${channelMention}.
|
Post target ${postTargetName} points to ${channelMention}. (${statusIndicator})
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Post target ${postTargetKey} is not available. It is either not defined or has been disabled.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Infractions
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
How many infraction levels there should be. Default: ${defaultValue}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The channel to log infraction notifications to. Default: ${defaultValue}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
${memberMention} raised to a new level ${newLevel} on infractions with ${newPoints}.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The amount of days after which reactions for starboard are ignored after. Default: ${defaultValue}
|
||||||
Reference in New Issue
Block a user