Add color to system JSON representation

This commit is contained in:
Grey Himmel
2021-09-25 15:05:42 -04:00
committed by spiral
parent d49b9f9bb7
commit 65b4f0e370
3 changed files with 3 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ namespace PluralKit.Core
o.Add("tag", system.Tag);
o.Add("avatar_url", system.AvatarUrl.TryGetCleanCdnUrl());
o.Add("banner", system.DescriptionPrivacy.Get(ctx, system.BannerImage).TryGetCleanCdnUrl());
o.Add("color", system.Color);
o.Add("created", system.Created.FormatExport());
// todo: change this to "timezone"
o.Add("tz", system.UiTz);