forked from EllieBotDevs/elliebot
Fixed bot.time and bot.date showing current timestamp time, which didn't make sense
This commit is contained in:
parent
d77fa7a115
commit
c8ea928de7
1 changed files with 2 additions and 4 deletions
|
@ -11,12 +11,10 @@ public sealed partial class ReplacementPatternStore
|
|||
private void WithDefault()
|
||||
{
|
||||
Register("%bot.time%",
|
||||
static ()
|
||||
=> TimestampTag.FromDateTime(DateTime.UtcNow, TimestampTagStyles.ShortTime).ToString());
|
||||
static () => DateTime.Now.ToShortTimeString());
|
||||
|
||||
Register("%bot.date%",
|
||||
static ()
|
||||
=> TimestampTag.FromDateTime(DateTime.UtcNow, TimestampTagStyles.ShortTime).ToString());
|
||||
static () => DateTime.Now.ToShortDateString());
|
||||
}
|
||||
|
||||
private void WithClient()
|
||||
|
|
Loading…
Add table
Reference in a new issue