Add display name to long member list

This commit is contained in:
Ske 2020-05-08 02:03:31 +02:00
parent fd65846867
commit 9a761ed7e4

View File

@ -78,6 +78,7 @@ namespace PluralKit.Bot
foreach (var m in members) foreach (var m in members)
{ {
var profile = $"**ID**: {m.Hid}"; var profile = $"**ID**: {m.Hid}";
if (m.DisplayName != null) profile += $"\n**Display name**: {m.DisplayName}";
if (m.Pronouns != null) profile += $"\n**Pronouns**: {m.Pronouns}"; if (m.Pronouns != null) profile += $"\n**Pronouns**: {m.Pronouns}";
if (m.Birthday != null) profile += $"\n**Birthdate**: {m.BirthdayString}"; if (m.Birthday != null) profile += $"\n**Birthdate**: {m.BirthdayString}";
if (m.ProxyTags.Count > 0) profile += $"\n**Proxy tags:** {m.ProxyTagsString()}"; if (m.ProxyTags.Count > 0) profile += $"\n**Proxy tags:** {m.ProxyTagsString()}";