Fix steam & lint (#630)

* fix

* make lint happy
This commit is contained in:
DreamZero
2023-03-20 11:57:46 +08:00
committed by GitHub
parent 6474b36ccd
commit e9eb4c5602
7 changed files with 35 additions and 39 deletions

View File

@@ -40,7 +40,7 @@ func randText(text ...string) message.MessageSegment {
}
// isAtriSleeping 凌晨0点到6点ATRI 在睡觉,不回应任何请求
func isAtriSleeping(ctx *zero.Ctx) bool {
func isAtriSleeping(*zero.Ctx) bool {
if now := time.Now().Hour(); now >= 1 && now < 6 {
return false
}