fix: Possible fix for a broken timestamp tag in remind list

This commit is contained in:
Kwoth
2024-08-03 13:53:42 +00:00
parent 1b0badd8d8
commit f4ed907134

View File

@@ -114,10 +114,9 @@ public partial class Utility
{
var when = rem.When;
embed.AddField(
$"#{++i + (page * 10)} {rem.When:HH:mm yyyy-MM-dd} UTC "
+ $"{TimestampTag.FromDateTime(when)}",
$@"`Target:` {(rem.IsPrivate ? "DM" : "Channel")}
`TargetId:` {rem.ChannelId}
$"#{++i + (page * 10)}",
$@"`When:` {TimestampTag.FromDateTime(when, TimestampTagStyles.ShortDateTime)}
`Target:` {(rem.IsPrivate ? "DM" : "Channel")} [`{rem.ChannelId}`]
`Message:` {rem.Message?.TrimTo(50)}");
}
}