mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-05 09:00:25 +00:00
[AB-150] adding templates for repost check
fixing some exception messages
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
<#macro userDisplay user>
|
||||
${user.rank} | <@member_user_name member=user.member/> | ${user.count}
|
||||
</#macro>
|
||||
<#include "member_author">
|
||||
<#include "success_color">,
|
||||
"description": "
|
||||
<@safe_include "repostLeaderboard_rank_column"/> | <@safe_include "repostLeaderboard_name_column"/> | <@safe_include "repostLeaderboard_count_column"/>
|
||||
<#list entries as user>
|
||||
<@userDisplay user=user />
|
||||
<#else>
|
||||
<@safe_include "repostLeaderboard_no_reposts"/>
|
||||
</#list>
|
||||
|
||||
<@safe_include "repostLeaderboard_caller_marker"/>:
|
||||
<#if userExecuting.count gt 0>
|
||||
<@userDisplay user=userExecuting />
|
||||
<#else>
|
||||
<@safe_include "repostLeaderboard_no_reposts"/>
|
||||
</#if>
|
||||
"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
<#include "member_author">
|
||||
<#include "success_color">,
|
||||
"description": "
|
||||
<#list repostCheckChannelGroups as group>
|
||||
<@safe_include "showRepostCheckChannels_response_embed_description"/>: ${group.channelGroup.channelGroup.groupName}(<#list group.channels as channel>${channel.channelRepr}<#sep>, <#else><@safe_include "showRepostCheckChannels_response_embed_no_channels"/></#list>)
|
||||
|
||||
<#else><@safe_include "showRepostCheckChannels_response_embed_no_channel_groups"/></#list>
|
||||
"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
"description": "<@safe_include "repost_check_check_channel_not_found_exception"/>"
|
||||
@@ -0,0 +1 @@
|
||||
<#include "repost_check_check_channel_not_found_exception_text">
|
||||
Reference in New Issue
Block a user