调整摸鱼时间
This commit is contained in:
parent
c9a5732721
commit
ac4466c374
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user