涩图模块:修复每日统计没效果

This commit is contained in:
Yutousama 2022-04-22 00:40:30 +08:00
parent a90d493975
commit 2db6d1fd39
2 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class QQBotApplication {
public static final String version="QQBot v.1.2.20";
public static final String version="QQBot v.1.2.21";
public static void main(String[] args) {
System.out.println("version = " + version);
SpringApplication.run(QQBotApplication.class, args);

View File

@ -63,7 +63,6 @@ public class GetSeTu extends Model {
String ret = redis.get("Setu_"+group);
redis.close();
MessageChainBuilder builder = null;
Log.i(group+"", ret);
if (!StringUtils.isEmpty(ret)) {
JSONArray array = JSONArray.parseArray(ret);
builder = new MessageChainBuilder();
@ -103,7 +102,6 @@ public class GetSeTu extends Model {
builder.append("如果炸群了请找他(\n");
builder.append("明天见~");
}
Log.i("打印色图统计:" + builder);
if (builder != null) {
QQBotManager.getInstance().sendMessage(group, builder);
}