[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
@@ -0,0 +1,3 @@
<#assign invalidFormat=model.invalidFormat>
<#assign validFormat=model.validFormat>
<#include "input_invalid_format_exception_text">
@@ -0,0 +1,3 @@
{
"additionalMessage": "<@safe_include "${templateKey}"/>"
}
@@ -0,0 +1 @@
Invalid input format: ${invalidFormat}. Valid format is ${validFormat}.
@@ -0,0 +1 @@
<#assign channelMention="<#${parameters.channelId?c}>"> <#assign templateKey=parameters.templateKey> Send template ${templateKey} in ${channelMention}
@@ -1 +1 @@
User has been banned.
User has been muted.