mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 01:30:13 +00:00
Add system tag to embed card
This commit is contained in:
parent
63cdb43496
commit
1ad01703b0
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue