调整摸鱼时间

This commit is contained in:
Yutousama 2022-04-10 02:26:22 +08:00
parent c9a5732721
commit ac4466c374

View File

@ -5,6 +5,7 @@ import com.yutou.qqbot.QQBotManager;
import com.yutou.qqbot.interfaces.DownloadInterface; import com.yutou.qqbot.interfaces.DownloadInterface;
import com.yutou.qqbot.models.Model; import com.yutou.qqbot.models.Model;
import com.yutou.qqbot.utlis.HttpTools; import com.yutou.qqbot.utlis.HttpTools;
import com.yutou.qqbot.utlis.Log;
import net.mamoe.mirai.event.events.MessageEvent; import net.mamoe.mirai.event.events.MessageEvent;
import java.io.File; import java.io.File;
@ -36,7 +37,8 @@ public class Moyu extends Model {
@Override @Override
public void onTime(Long qq, String time) { public void onTime(Long qq, String time) {
super.onTime(qq, time); super.onTime(qq, time);
if("08:00:00".equals(time)){ if("09:00:00".equals(time)){
Log.i("发送摸鱼报告:"+qq);
send(qq); send(qq);
} }
} }