fixing emote stats and reaction report related templates

This commit is contained in:
Sheldan
2022-08-01 23:00:09 +02:00
parent 5da19ef286
commit dc268ac643
3 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
<#elseif reportedMessage.attachments?size = 0 && reportedMessage.embeds?size gt 0 && reportedMessage.embeds[0].cachedImageInfo??>
,"imageUrl": "${reportedMessage.embeds[0].cachedImageInfo.proxyUrl}"
</#if>
<#if singularMessage>,
<#if singularMessage>
,"fields": [
{
"name": "<@safe_include "reactionReport_notification_embed_report_counter_field_title"/>",

View File

@@ -7,7 +7,7 @@
"additionalMessage": "<@safe_include "downloadEmoteStats_response_embed_text"/>",
"files": [
{
"filename: "${serverId}-${templateKey}.ftl"
"fileName": "${serverId}-emotestats.csv"
}
]
}

View File

@@ -1,3 +1,3 @@
This command can be used to add reacts representing text to messages. The messages if referenced by replying to the message while executing the command.
The bot will try to fix any duplicated characters in the text, and it will try to replace multiple characters, with one reaction (if possible, for example there exists an emote for SOS), but in case the bot is unable to fix the duplicates, an error message is shown. The replacement with multiple characters has precedence over single characters.
If the already existing reactions + the reactions which would be created by this command reach the Discord limit of reactions on a message, this command will show an error message and not add any reaction.
This command can be used to add reacts, representing text, to messages. The target message is defined by replying a the message while executing the command.
The bot will try to fix any duplicated characters in the text, and it will try to replace multiple characters, with one reaction (if possible, for example there exists an emote for SOS), but in case the bot is unable to fix the duplicates, an error message is shown. The replacement with multiple characters takes precedence over single characters.
If the already existing reactions and the reactions, which would be created by this command, reach the Discord limit of reactions on a message, this command will show an error message and not add any reaction.