调整摸鱼时间

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

View File

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