修复空字符串判断错误代码
This commit is contained in:
parent
2000efdd55
commit
68fd6efdf4
@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class QQBotApplication {
|
||||
public static final String version="QQBot v.1.6.1";
|
||||
public static final String version="QQBot v.1.6.2";
|
||||
public static void main(String[] args) {
|
||||
System.out.println("version = " + version);
|
||||
SpringApplication.run(QQBotApplication.class, args);
|
||||
|
@ -66,7 +66,7 @@ public class BiliVideo extends Model {
|
||||
int id = ((QuoteReply) event.getMessage().get(1)).getSource().getIds()[0];
|
||||
if (msg.contains("省流") || msg.contains("总结")) {
|
||||
String value = onAIVideo(id);
|
||||
if(StringUtils.isEmpty(value)){
|
||||
if(!StringUtils.isEmpty(value)){
|
||||
QQBotManager.getInstance().sendMessage(qq,value);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user