修复Runtime error

This commit is contained in:
Promix953 2022-08-13 11:11:58 +08:00
parent 66f1204889
commit 40e683739e
1 changed files with 122 additions and 120 deletions

View File

@ -285,6 +285,7 @@ func (c *Core) RespondDaily(user *model.User, model string) {
return
}
if category != nil {
_ = category.WaitForElementState(`visible`)
time.Sleep(1 * time.Second)
@ -425,6 +426,7 @@ func (c *Core) RespondDaily(user *model.User, model string) {
return
}
}
}
score, _ = GetUserScore(user.ToCookies())
}
}