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 1ab8bbd..fbfb14c 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 = 1647493945844L; + public static final String VERSION = "0.6.2.0"; + public static final long COMPILE_TIMESTAMP = 1647534871045L; } 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 )) ) {