mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +00:00
parent
1d7a4d78db
commit
c4d28f64c7
1 changed files with 3 additions and 3 deletions
|
|
@ -36,8 +36,8 @@ namespace PluralKit.Bot {
|
||||||
.WithColor(Color.Blue)
|
.WithColor(Color.Blue)
|
||||||
.WithTitle(system.Name ?? null)
|
.WithTitle(system.Name ?? null)
|
||||||
.WithThumbnailUrl(system.AvatarUrl ?? null)
|
.WithThumbnailUrl(system.AvatarUrl ?? null)
|
||||||
.WithFooter($"System ID: {system.Hid}");
|
.WithFooter($"System ID: {system.Hid} | Created on {Formats.ZonedDateTimeFormat.Format(system.Created.InZone(system.Zone))}");
|
||||||
|
|
||||||
var latestSwitch = await _switches.GetLatestSwitch(system);
|
var latestSwitch = await _switches.GetLatestSwitch(system);
|
||||||
if (latestSwitch != null)
|
if (latestSwitch != null)
|
||||||
{
|
{
|
||||||
|
|
@ -91,7 +91,7 @@ namespace PluralKit.Bot {
|
||||||
// TODO: add URL of website when that's up
|
// TODO: add URL of website when that's up
|
||||||
.WithAuthor(name, member.AvatarUrl)
|
.WithAuthor(name, member.AvatarUrl)
|
||||||
.WithColor(color)
|
.WithColor(color)
|
||||||
.WithFooter($"System ID: {system.Hid} | Member ID: {member.Hid}");
|
.WithFooter($"System ID: {system.Hid} | Member ID: {member.Hid} | Created on {Formats.ZonedDateTimeFormat.Format(member.Created.InZone(system.Zone))}");
|
||||||
|
|
||||||
if (member.AvatarUrl != null) eb.WithThumbnailUrl(member.AvatarUrl);
|
if (member.AvatarUrl != null) eb.WithThumbnailUrl(member.AvatarUrl);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue