mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 05:47:53 +00:00
Add group front percentages
Also add a title to the system frontpercent embed, and tweak the footer
This commit is contained in:
parent
74424edc89
commit
9d80b7b141
6 changed files with 54 additions and 10 deletions
|
|
@ -51,7 +51,7 @@ namespace PluralKit.Core
|
|||
|
||||
// Export switches
|
||||
var switches = new List<DataFileSwitch>();
|
||||
var switchList = await _repo.GetPeriodFronters(conn, system.Id, Instant.FromDateTimeUtc(DateTime.MinValue.ToUniversalTime()), SystemClock.Instance.GetCurrentInstant());
|
||||
var switchList = await _repo.GetPeriodFronters(conn, system.Id, null, Instant.FromDateTimeUtc(DateTime.MinValue.ToUniversalTime()), SystemClock.Instance.GetCurrentInstant());
|
||||
switches.AddRange(switchList.Select(x => new DataFileSwitch
|
||||
{
|
||||
Timestamp = x.TimespanStart.FormatExport(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue