Handle systems with (too) many linked accounts

This commit is contained in:
Ske 2019-12-22 13:53:38 +01:00
parent ebc688ae54
commit bd8fb40bc7

View File

@ -43,7 +43,7 @@ namespace PluralKit.Bot {
}
if (system.Tag != null) eb.AddField("Tag", system.Tag);
eb.AddField("Linked accounts", string.Join(", ", users), true);
eb.AddField("Linked accounts", string.Join(", ", users).Truncate(1000), true);
eb.AddField($"Members ({memberCount})", $"(see `pk;system {system.Hid} list` or `pk;system {system.Hid} list full`)", true);
if (system.Description != null) eb.AddField("Description", system.Description.Truncate(1024), false);