mirror of https://github.com/velour/catbase.git
first: fix time to use local
This commit is contained in:
parent
edc56dedc7
commit
02837bf136
|
@ -289,7 +289,7 @@ func (p *FirstPlugin) recordFirst(c bot.Connector, message msg.Message) {
|
||||||
Msg("Recording first")
|
Msg("Recording first")
|
||||||
first := &FirstEntry{
|
first := &FirstEntry{
|
||||||
day: Midnight(time.Now()),
|
day: Midnight(time.Now()),
|
||||||
time: message.Time,
|
time: time.Now(),
|
||||||
channel: message.Channel,
|
channel: message.Channel,
|
||||||
body: message.Body,
|
body: message.Body,
|
||||||
nick: message.User.Name,
|
nick: message.User.Name,
|
||||||
|
|
Loading…
Reference in New Issue