mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-27 20:39:08 +00:00
[AB-84] adding suggestion text, vote percentages and emotes to suggestion update message
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<#if message?? && message.attachments?size gt 0>
|
||||
"imageUrl": "${message.attachments[0].proxyUrl}",
|
||||
</#if>
|
||||
"description": "<@safe_include "suggest_text_label"/>: ${text}",
|
||||
"fields": [
|
||||
<#if reason?has_content>
|
||||
{
|
||||
@@ -14,11 +15,11 @@
|
||||
</#if>
|
||||
{
|
||||
"name": "<@safe_include "suggestion_agreements_field_title"/>",
|
||||
"value": "${agreeVotes?c}"
|
||||
"value": "👍 ${agreeVotes?c} (${agreementPercentage?ceiling}%)"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "suggestion_disagreements_field_title"/>",
|
||||
"value": "${disAgreeVotes?c}"
|
||||
"value": "👎 ${disAgreeVotes?c} (${disAgreementPercentage?ceiling}%)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user