大头菜改为只允许私聊设置
修复涩图功能
This commit is contained in:
@@ -28,7 +28,7 @@ public class QQSetu extends Model {
|
||||
private int db_user =3;//当次数据
|
||||
private long group;
|
||||
private Timer timer;
|
||||
private final Map<String, Float> setuScore = new HashMap<>();
|
||||
private static final Map<String, Float> setuScore = new HashMap<>();
|
||||
|
||||
public void printTodaySetu() {
|
||||
String redisKey= AppTools.getToDayTime() + "_setu";
|
||||
@@ -121,6 +121,7 @@ public class QQSetu extends Model {
|
||||
if(!setuScore.isEmpty()){
|
||||
printSetu(group);
|
||||
}
|
||||
timer.cancel();
|
||||
timer = null;
|
||||
}
|
||||
}, (long) (0.9 * 60 * 1000));
|
||||
|
||||
Reference in New Issue
Block a user