diff --git a/src/main/java/com/yutou/qqbot/models/Commands/Bangumi.java b/src/main/java/com/yutou/qqbot/models/Commands/Bangumi.java
index eb5a43e..cc85463 100644
--- a/src/main/java/com/yutou/qqbot/models/Commands/Bangumi.java
+++ b/src/main/java/com/yutou/qqbot/models/Commands/Bangumi.java
@@ -57,7 +57,7 @@ public class Bangumi extends Model {
info = info.replace("", "");
}
}
- sendImagesMsg(imgs,qq, info);
+ sendImagesMsg(imgs,qq, info,msg.replace(QQGroupCommands.QQ_BANGUMI_SUB,"").trim());
}
}
public static List getImages(String str) {
@@ -75,7 +75,7 @@ public class Bangumi extends Model {
private List files;
private int index = 0;
- private void sendImagesMsg(List imgs,Long qq, String text) {
+ private void sendImagesMsg(List imgs, Long qq, String text, String key) {
files = new ArrayList<>();
index = 0;
if (imgs.size() == 0) {
@@ -83,7 +83,7 @@ public class Bangumi extends Model {
return;
}
for (String img : imgs) {
- HttpTools.download(img,img+".png", new DownloadInterface() {
+ HttpTools.download(img,key+".png", new DownloadInterface() {
@Override
public void onDownload(File file) {
super.onDownload(file);