update
This commit is contained in:
parent
67587d208b
commit
10675c373a
@ -3,6 +3,7 @@ package com.yutou.qqbot.models.WebSign;
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import com.alibaba.fastjson2.JSONArray;
|
||||
import com.yutou.qqbot.Annotations.UseModel;
|
||||
import com.yutou.qqbot.QQBotManager;
|
||||
import com.yutou.qqbot.models.Model;
|
||||
import com.yutou.qqbot.utlis.ConfigTools;
|
||||
import com.yutou.qqbot.utlis.StringUtils;
|
||||
@ -32,7 +33,11 @@ public class ZhuZhu extends Model {
|
||||
public synchronized void onTime(Long qq, String time) {
|
||||
super.onTime(qq, time);
|
||||
if ("09:01:00".equals(time)) {
|
||||
sign();
|
||||
if(sign()){
|
||||
QQBotManager.getInstance().sendMessage("HiRes论坛签到成功");
|
||||
}else{
|
||||
QQBotManager.getInstance().sendMessage("HiRes论坛签到失败");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user