From ae72956f6814230463b15ed3a9fa508f4336ba1e Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Fri, 11 Nov 2022 22:55:03 +0800 Subject: [PATCH] update PaoPaoSleepWaring --- .../java/com/yutou/qqbot/models/Commands/PaoPaoSleepWaring.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/yutou/qqbot/models/Commands/PaoPaoSleepWaring.java b/src/main/java/com/yutou/qqbot/models/Commands/PaoPaoSleepWaring.java index aeaffc3..0b1f690 100644 --- a/src/main/java/com/yutou/qqbot/models/Commands/PaoPaoSleepWaring.java +++ b/src/main/java/com/yutou/qqbot/models/Commands/PaoPaoSleepWaring.java @@ -32,7 +32,7 @@ public class PaoPaoSleepWaring extends Model { public void onMessage(Long qq, MessageEvent event, boolean isGroup) { super.onMessage(qq, event, isGroup); if(Integer.parseInt(AppTools.getHours())>=22 && event.getSource().getFromId() == 914520754 - && "true".equals(RedisTools.get("paopao_sleep_"+AppTools.getToDayTime(),"false"))){ + && "false".equals(RedisTools.get("paopao_sleep_"+AppTools.getToDayTime(),"false"))){ MessageChainBuilder builder=new MessageChainBuilder(); builder.append(new QuoteReply(event.getMessage())); builder.append("别水了,该睡了~");