Fixed Notification time
This commit is contained in:
parent
e1c7b56049
commit
de4200c150
|
@ -37,6 +37,7 @@ func userJoined(b *bot, update *echotron.Update) error {
|
||||||
JoinedMessage: message.ID,
|
JoinedMessage: message.ID,
|
||||||
CorrectAnswer: int8(captcha.CorrectAnswer),
|
CorrectAnswer: int8(captcha.CorrectAnswer),
|
||||||
DateJoined: time.Now(),
|
DateJoined: time.Now(),
|
||||||
|
LastNotification: time.Now(),
|
||||||
}
|
}
|
||||||
// user.CorrectAnswer = int8(captcha.CorrectAnswer)
|
// user.CorrectAnswer = int8(captcha.CorrectAnswer)
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
|
||||||
|
|
Loading…
Reference in New Issue