[AB-xxx] adding exception templates for input invalid format exception

fixing moderation action mute response text
adding templates for sending a message at a level action
This commit is contained in:
Sheldan
2024-07-27 19:52:39 +02:00
parent dd83009259
commit 2a68d74917
6 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
<#assign invalidFormat=model.invalidFormat>
<#assign validFormat=model.validFormat>
<#include "input_invalid_format_exception_text">

View File

@@ -0,0 +1,3 @@
{
"additionalMessage": "<@safe_include "${templateKey}"/>"
}

View File

@@ -0,0 +1 @@
Invalid input format: ${invalidFormat}. Valid format is ${validFormat}.

View File

@@ -0,0 +1 @@
<#assign channelMention="<#${parameters.channelId?c}>"> <#assign templateKey=parameters.templateKey> Send template ${templateKey} in ${channelMention}

View File

@@ -0,0 +1 @@
sends a message to a channel once a member reaches the level