From bd8fb40bc755033cb8d03fd7b9a34937de599989 Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 22 Dec 2019 13:53:38 +0100 Subject: [PATCH] Handle systems with (too) many linked accounts --- PluralKit.Bot/Services/EmbedService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/EmbedService.cs b/PluralKit.Bot/Services/EmbedService.cs index 1b1393ec..5ff52f57 100644 --- a/PluralKit.Bot/Services/EmbedService.cs +++ b/PluralKit.Bot/Services/EmbedService.cs @@ -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);