Possible fix for a broken timestamp tag in remind list
This commit is contained in:
parent
500cb95208
commit
3f7e5d5054
1 changed files with 5 additions and 6 deletions
|
@ -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)}");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue