mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-05 05:17:54 +00:00
Add color to system JSON representation
This commit is contained in:
parent
d49b9f9bb7
commit
65b4f0e370
3 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue