first: fix time to use local

This commit is contained in:
Chris Sexton 2021-08-21 07:24:15 -04:00 committed by Chris Sexton
parent edc56dedc7
commit 02837bf136
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ func (p *FirstPlugin) recordFirst(c bot.Connector, message msg.Message) {
Msg("Recording first")
first := &FirstEntry{
day: Midnight(time.Now()),
time: message.Time,
time: time.Now(),
channel: message.Channel,
body: message.Body,
nick: message.User.Name,