调整摸鱼时间

This commit is contained in:
Yutousama 2022-04-10 10:11:51 +08:00
parent 409c12b76e
commit 62ad0a65fd
2 changed files with 1 additions and 4 deletions

View File

@ -38,7 +38,6 @@ public class Moyu extends Model {
public void onTime(Long qq, String time) {
super.onTime(qq, time);
if("10:00:00".equals(time)){
Log.i("发送摸鱼报告:"+qq);
send(qq);
}
}
@ -50,8 +49,7 @@ public class Moyu extends Model {
@Override
public void onDownload(File file) {
super.onDownload(file);
String ret = QQBotManager.getInstance().sendMessage(file, qq, "");
Log.i("成功发送消息 qq="+qq+" ret="+ret);
QQBotManager.getInstance().sendMessage(file, qq, "");
}
});
}

View File

@ -190,7 +190,6 @@ public class QQSetu extends Model {
}
@Override
public void onMessage(Long qq, MessageEvent event, boolean isGroup){
System.out.println("qq = " + qq + ", event = " + event.getMessage().contentToString() + ", isGroup = " + isGroup);
if(!isGroup){
return;
}