From 3d730206b9584fb7401d8c1a1b6a3d43e81a7db3 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Fri, 14 Oct 2022 21:14:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=20B=E7=AB=99=E6=B7=BB=E5=8A=A0=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=97=B4=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + "");