mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-13 19:41:40 +00:00
[AB-80] added statistic module containing a first draft of templates for emote tracking
changed text to indicate a feature mode is part of the default config removed command reference from incorrect feature mode exception template
This commit is contained in:
15
abstracto-modules/statistic/src/main/assembly/assembly.xml
Normal file
15
abstracto-modules/statistic/src/main/assembly/assembly.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||
<id>zip</id>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<outputDirectory>.</outputDirectory>
|
||||
<directory>${project.basedir}/src/main/resources</directory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "deletedEmoteStats_animated_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.emoteId?c}`x${emote.result.amount}<#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "deletedEmoteStats_static_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list staticEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.emoteId?c}`x${emote.result.amount}<#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
emoteId,serverId,date,count,animated,external,deleted
|
||||
<#list emotes as emote>${emote.emoteId.emoteId?c},${emote.emoteId.serverId?c},${formatDate(emote.emoteId.useDate, "yyyy-MM-dd")},${emote.amount},${emote.trackedEmote.animated?string('1', '0')},${emote.trackedEmote.external?string('1', '0')},${emote.trackedEmote.deleted?string('1', '0')}
|
||||
</#list>
|
||||
@@ -0,0 +1 @@
|
||||
emote_stats_${guild.id}.csv
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "downloadEmoteStats_no_stats_available_embed_title"/>"
|
||||
},
|
||||
<#include "warning_color">
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
<#assign guildName=guild.name>
|
||||
<#if statsSince?has_content>
|
||||
<#assign sinceDate>${formatDate(statsSince, "yyyy-MM-dd")}</#assign>
|
||||
</#if>
|
||||
"additionalMessage": "<@safe_include "downloadEmoteStats_response_embed_text"/>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "emoteStats_animated_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount}<#sep> </#if></#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "emoteStats_response_embed_title"/>"
|
||||
},
|
||||
<#include "warning_color">,
|
||||
"description": "<@safe_include "emoteStats_no_stats_available"/>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "emoteStats_static_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list staticEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}x${emote.result.amount}<#sep> </#if></#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "externalEmoteStats_animated_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list animatedEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.emoteId?c}`x${emote.result.amount}<#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "externalEmoteStats_static_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list staticEmotes as emote>`${emote.trackedEmote.emoteName}:${emote.trackedEmote.trackedEmoteId.emoteId?c}`x${emote.result.amount}<#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showExternalTrackedEmote_response_embed_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "showExternalTrackedEmote_response_embed_emote_name_field_title"/>",
|
||||
"value": "${emoteName}"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "showExternalTrackedEmote_response_embed_emote_id_field_title"/>",
|
||||
"value": "${trackedEmoteId.emoteId?c}"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "showExternalTrackedEmote_response_embed_link_field_title"/>",
|
||||
"value": "[<@safe_include "showExternalTrackedEmote_response_embed_emote_link_field_alt_text"/>](${externalUrl})"
|
||||
}
|
||||
],
|
||||
"imageUrl": "${externalUrl}"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showTrackedEmotes_animated_tracked_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list animatedEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}<#if !emote.trackedEmote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#if></#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showTrackedEmotes_deleted_animated_tracked_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list deletedAnimatedEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showTrackedEmotes_deleted_static_tracked_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list deletedStaticEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showTrackedEmotes_external_animated_tracked_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list externalAnimatedEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showTrackedEmotes_external_static_tracked_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list externalStaticEmotes as emote>`${emote.emoteName}:${emote.trackedEmoteId.emoteId?c}`<#if !emote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep>, </#list>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showTrackedEmotes_response_embed_title"/>"
|
||||
},
|
||||
<#include "warning_color">,
|
||||
"description": "<@safe_include "showTrackedEmotes_no_emotes_available"/>"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "showTrackedEmotes_static_tracked_emotes_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
"description": "<#list staticEmotes as emote><#if emote.emote?has_content>${emote.emote.asMention}<#if !emote.trackedEmote.trackingEnabled>(<#include "showTrackedEmotes_emote_tracking_disabled">)</#if><#sep> </#if></#list>"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "syncTrackedEmotes_result_response_embed_title"/>"
|
||||
},
|
||||
<#include "statistic_color">,
|
||||
<#assign emotesAdded=emotesAdded>
|
||||
<#assign emotesDeleted=emotesMarkedDeleted>
|
||||
"description": "<@safe_include "syncTrackedEmotes_result_response_description"/>"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
"color" : {
|
||||
"r": 196,
|
||||
"g": 107,
|
||||
"b": 215
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "emote_stats_download_file_size_too_big"/>"
|
||||
@@ -0,0 +1 @@
|
||||
<#assign fileSize=model.fileSize><#assign maxFileSize=model.fileSizeLimit><#include "emote_stats_download_file_size_too_big_text">
|
||||
Reference in New Issue
Block a user