feat: system pronouns (#429)

This commit is contained in:
Jake Fulmine
2022-03-23 19:20:16 +01:00
committed by GitHub
parent 062835e0c5
commit 7efe6f1f97
11 changed files with 99 additions and 2 deletions

View File

@@ -103,6 +103,9 @@ public class EmbedService
"*(tag is disabled in this server)*"));
}
if (system.PronounPrivacy.CanAccess(ctx) && system.Pronouns != null)
eb.Field(new Embed.Field("Pronouns", system.Pronouns, true));
if (!system.Color.EmptyOrNull()) eb.Field(new Embed.Field("Color", $"#{system.Color}", true));
eb.Field(new Embed.Field("Linked accounts", string.Join("\n", users).Truncate(1000), true));