diff --git a/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java b/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java index 2545d59..455d816 100644 --- a/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java +++ b/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java @@ -61,7 +61,7 @@ public class BiliBiliLive extends Model { } else { msg = msg.replace(QQGroupCommands.BILI_LIVE_DANMU_SEND, "").trim(); } - Integer roomId = Integer.getInteger(msg); + Integer roomId = Integer.parseInt(msg); if (BiliBiliUtils.checkLiveRoom(roomId)) { if (isDel && RedisTools.list_isExist("bili_live", roomId + "")) { RedisTools.list_remove("bili_live", roomId + "");