From 1ad01703b03d34673a445b44f257f41b66cc72a4 Mon Sep 17 00:00:00 2001 From: Ske Date: Thu, 18 Jul 2019 14:01:28 +0200 Subject: [PATCH] Add system tag to embed card --- PluralKit.Bot/Services/EmbedService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PluralKit.Bot/Services/EmbedService.cs b/PluralKit.Bot/Services/EmbedService.cs index 3d2fcf12..8fda3aa7 100644 --- a/PluralKit.Bot/Services/EmbedService.cs +++ b/PluralKit.Bot/Services/EmbedService.cs @@ -37,6 +37,7 @@ namespace PluralKit.Bot { .WithThumbnailUrl(system.AvatarUrl ?? null) .WithFooter($"System ID: {system.Hid}"); + if (system.Tag != null) eb.AddField("Tag", system.Tag); eb.AddField("Linked accounts", string.Join(", ", users)); eb.AddField($"Members ({memberCount})", $"(see `pk;system {system.Hid} list` or `pk;system {system.Hid} list full`)"); // TODO: fronter