feat: add attachment icon to reply card if referenced message has embeds

This commit is contained in:
spiral 2022-01-07 14:21:52 -05:00
parent 91213faa50
commit d3682b94b2
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -227,7 +227,7 @@ public class ProxyService
content.Append($"**[Reply to:]({jumpLink})** "); content.Append($"**[Reply to:]({jumpLink})** ");
content.Append(msg); content.Append(msg);
if (repliedTo.Attachments.Length > 0) if (repliedTo.Attachments.Length > 0 || repliedTo.Embeds.Length > 0)
content.Append($" {Emojis.Paperclip}"); content.Append($" {Emojis.Paperclip}");
} }
else else