mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 03:46:00 +00:00
[AB-182] adding templates for starStats command with specific member
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"title": "<@safe_include "starStats_member_response_title"/>"
|
||||||
|
},
|
||||||
|
"author": {
|
||||||
|
"name": "<@member_user_name member=member/>",
|
||||||
|
"avatar": "${member.user.effectiveAvatarUrl}"
|
||||||
|
},
|
||||||
|
<#include "abstracto_color">,
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"name": "<@safe_include "starStats_top_starred_field_title"/>",
|
||||||
|
"value": "
|
||||||
|
<#list topPosts as post><#assign post=post/>
|
||||||
|
<#assign badge>${badgeEmotes[post?index]}</#assign><#assign count>${post.starCount}</#assign><#assign link>${post.messageUrl}</#assign> <@safe_include "starStats_starred_entry"/><#else>
|
||||||
|
<@safe_include "starStats_no_starred_messages"/>
|
||||||
|
</#list>
|
||||||
|
"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "<@safe_include "starStats_member_received_stars_field_title"/>",
|
||||||
|
"value": "${receivedStars}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "<@safe_include "starStats_member_given_stars_field_title"/>",
|
||||||
|
"value": "${givenStars}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1 +1 @@
|
|||||||
Shows the current leader board of starboard posts.
|
Shows the current leader board of starboard posts
|
||||||
@@ -1 +1,2 @@
|
|||||||
Shows the current leader board of starboard posts.
|
Shows the current leader board of starboard posts. Can also be used to show the starboard statistics for an individual member.
|
||||||
|
This user needs to be still in this server.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
The member for whom the starboard statistics should be retrieved for. Only possible for members still in the server.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Given stars
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Received stars
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Star statistic for member
|
||||||
Reference in New Issue
Block a user