新增图片支持File

调整涩图模块为先自己下载,无法下载再丢url给qq机器人
移除部分日志
This commit is contained in:
2024-05-05 16:50:37 +08:00
parent d4b0a78fa9
commit 7e9fa60f6a
7 changed files with 67 additions and 15 deletions

View File

@@ -39,7 +39,7 @@ public class Text extends BaseHandle<Text.TextInfo> {
@Override
public String toString() {
return data.text;
return data.text.trim();
}
@Data
@@ -47,7 +47,7 @@ public class Text extends BaseHandle<Text.TextInfo> {
String text;
public TextInfo(String text) {
this.text = text;
this.text = text.trim();
}
}
}