[SIS-xxx] aligning templates with a fix

This commit is contained in:
Sheldan
2022-07-25 22:30:54 +02:00
parent a2818241f6
commit af8f2c10ff

View File

@@ -13,7 +13,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>