diff --git a/src/main/java/com/yutou/qqbot/bilibili/BiliBiliManga.java b/src/main/java/com/yutou/qqbot/bilibili/BiliBiliManga.java index c51617b..918c755 100644 --- a/src/main/java/com/yutou/qqbot/bilibili/BiliBiliManga.java +++ b/src/main/java/com/yutou/qqbot/bilibili/BiliBiliManga.java @@ -142,7 +142,7 @@ public class BiliBiliManga { } } } - }, 0, 500); + }, 0, 1000); } public void stopPayMission() { diff --git a/src/main/java/com/yutou/qqbot/models/WebSign/BiliBiliMangeSign.java b/src/main/java/com/yutou/qqbot/models/WebSign/BiliBiliMangeSign.java index 6f2cc18..cc33c31 100644 --- a/src/main/java/com/yutou/qqbot/models/WebSign/BiliBiliMangeSign.java +++ b/src/main/java/com/yutou/qqbot/models/WebSign/BiliBiliMangeSign.java @@ -70,13 +70,13 @@ public class BiliBiliMangeSign extends Model { } else if (msg.startsWith(QQFromCommands.BILI_MANGA_PAY)) { msg = msg.replace(QQFromCommands.BILI_MANGA_PAY, ""); String[] message = msg.split(" "); - int num = 0; + int num = -1; int id = 0; for (String s : message) { try{ if(id==0){ id=Integer.parseInt(s); - }else if(num==0){ + }else if(num==-1){ num=Integer.parseInt(s); } }catch (Exception ignored){