From 043a67231ee6300a981fa18029f252be725a9593 Mon Sep 17 00:00:00 2001 From: Eyre_S Date: Fri, 18 Mar 2022 00:31:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20sleep=20=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=9A=84=20lapis=5Fapple=20=E6=AE=B5=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=A3=80=E6=9F=A5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 2 +- .../java/cc/sukazyo/cono/morny/GradleProjectConfigures.java | 4 ++-- .../sukazyo/cono/morny/bot/event/OnKuohuanhuanNeedSleep.java | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index f5516af..5c06ab4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ ## Core -VERSION = 0.6.1.1 +VERSION = 0.6.2.0 # dependencies diff --git a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java index 5ca11b5..05db217 100644 --- a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java +++ b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java @@ -4,6 +4,6 @@ package cc.sukazyo.cono.morny; * the final field that will be updated by gradle automatically. */ public class GradleProjectConfigures { - public static final String VERSION = "0.6.1.1"; - public static final long COMPILE_TIMESTAMP = 1647424091182L; + public static final String VERSION = "0.6.2.0"; + public static final long COMPILE_TIMESTAMP = 1647533461453L; } diff --git a/src/main/java/cc/sukazyo/cono/morny/bot/event/OnKuohuanhuanNeedSleep.java b/src/main/java/cc/sukazyo/cono/morny/bot/event/OnKuohuanhuanNeedSleep.java index 8863f75..41091aa 100644 --- a/src/main/java/cc/sukazyo/cono/morny/bot/event/OnKuohuanhuanNeedSleep.java +++ b/src/main/java/cc/sukazyo/cono/morny/bot/event/OnKuohuanhuanNeedSleep.java @@ -22,6 +22,7 @@ public class OnKuohuanhuanNeedSleep extends EventListener { time.get(Calendar.HOUR_OF_DAY) < 5 )) || ( update.message().from().id() == 1075871712L && ( (time.get(Calendar.HOUR_OF_DAY) >= 22 && time.get(Calendar.MINUTE) >= 30) || + time.get(Calendar.HOUR_OF_DAY) >= 23 || time.get(Calendar.HOUR_OF_DAY) < 5 )) ) {