mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-02 23:17:34 +00:00
[AB-xxx] fixing template for reaction reports with attachments
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<#if reportedMessage.attachments?size gt 0>
|
||||
,"imageUrl": "${reportedMessage.attachments[0].proxyUrl}"
|
||||
<#elseif reportedMessage.attachments?size = 0 && reportedMessage.embeds?size gt 0 && reportedMessage.embeds[0].cachedThumbnail??>
|
||||
,"imageUrl": "${message.embeds[0].cachedThumbnail.proxyUrl}"
|
||||
,"imageUrl": "${reportedMessage.embeds[0].cachedThumbnail.proxyUrl}"
|
||||
<#elseif reportedMessage.attachments?size = 0 && reportedMessage.embeds?size gt 0 && reportedMessage.embeds[0].cachedImageInfo??>
|
||||
,"imageUrl": "${reportedMessage.embeds[0].cachedImageInfo.proxyUrl}"
|
||||
</#if>
|
||||
|
||||
Reference in New Issue
Block a user