fix B站添加直播间失败
This commit is contained in:
parent
07361fb616
commit
3d730206b9
@ -61,7 +61,7 @@ public class BiliBiliLive extends Model {
|
|||||||
} else {
|
} else {
|
||||||
msg = msg.replace(QQGroupCommands.BILI_LIVE_DANMU_SEND, "").trim();
|
msg = msg.replace(QQGroupCommands.BILI_LIVE_DANMU_SEND, "").trim();
|
||||||
}
|
}
|
||||||
Integer roomId = Integer.getInteger(msg);
|
Integer roomId = Integer.parseInt(msg);
|
||||||
if (BiliBiliUtils.checkLiveRoom(roomId)) {
|
if (BiliBiliUtils.checkLiveRoom(roomId)) {
|
||||||
if (isDel && RedisTools.list_isExist("bili_live", roomId + "")) {
|
if (isDel && RedisTools.list_isExist("bili_live", roomId + "")) {
|
||||||
RedisTools.list_remove("bili_live", roomId + "");
|
RedisTools.list_remove("bili_live", roomId + "");
|
||||||
|
Loading…
Reference in New Issue
Block a user