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