From f4af5bea99cb11c78cb1346bc02bae99fd71636a Mon Sep 17 00:00:00 2001 From: Yiwen-Chan Date: Sat, 24 Apr 2021 21:00:36 +0800 Subject: [PATCH] =?UTF-8?q?:pencil2:=20=E6=9B=B4=E6=94=B9ATRI=E7=9D=A1?= =?UTF-8?q?=E8=A7=89=E6=97=B6=E9=97=B4=E4=B8=BA=E5=87=8C=E6=99=A81?= =?UTF-8?q?=E7=82=B9=E5=88=B06=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- atri/atri.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atri/atri.go b/atri/atri.go index 852318b3..7d648d9b 100644 --- a/atri/atri.go +++ b/atri/atri.go @@ -240,7 +240,7 @@ func AtriSwitch() zero.Rule { // AtriSleep 凌晨0点到6点,ATRI 在睡觉,不回应任何请求 func AtriSleep() zero.Rule { return func(ctx *zero.Ctx) bool { - if now := time.Now().Hour(); now < 6 { + if now := time.Now().Hour(); now >= 1 && now < 6 { return false } return true