Add system tag to embed card

This commit is contained in:
Ske 2019-07-18 14:01:28 +02:00
parent 63cdb43496
commit 1ad01703b0

View File

@ -37,6 +37,7 @@ namespace PluralKit.Bot {
.WithThumbnailUrl(system.AvatarUrl ?? null) .WithThumbnailUrl(system.AvatarUrl ?? null)
.WithFooter($"System ID: {system.Hid}"); .WithFooter($"System ID: {system.Hid}");
if (system.Tag != null) eb.AddField("Tag", system.Tag);
eb.AddField("Linked accounts", string.Join(", ", users)); eb.AddField("Linked accounts", string.Join(", ", users));
eb.AddField($"Members ({memberCount})", $"(see `pk;system {system.Hid} list` or `pk;system {system.Hid} list full`)"); eb.AddField($"Members ({memberCount})", $"(see `pk;system {system.Hid} list` or `pk;system {system.Hid} list full`)");
// TODO: fronter // TODO: fronter