涩图模块:修复随机色图不被统计的问题

This commit is contained in:
Yutousama 2022-04-26 07:32:13 +08:00
parent 2db6d1fd39
commit 7ac9d1b188
2 changed files with 4 additions and 1 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.21";
public static final String version="QQBot v.1.2.22";
public static void main(String[] args) {
System.out.println("version = " + version);
SpringApplication.run(QQBotApplication.class, args);

View File

@ -92,6 +92,9 @@ public class GetSeTu extends Model {
builder.append(new At(qq))
.append(":\n");
for (String tag : list) {
if(StringUtils.isEmpty(tag)){
tag="随机";
}
builder.append(tag).append("\n");
}
builder.append("------------------\n");