From 22add886d535f6001f057fd980ffefdc8a6fdb76 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Fri, 14 Oct 2022 21:30:25 +0800 Subject: [PATCH] add user info --- 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 13b96ab..911c9ae 100644 --- a/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java +++ b/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java @@ -84,7 +84,7 @@ public class BiliBiliLive extends Model { .append(BiliBiliUtils.getUserInfo( BiliBiliUtils.getLiveRoom(Integer.parseInt(id)) .getJSONObject("data") - .getInteger("mid"))) + .getInteger("uid"))) .append("\n"); } QQBotManager.getInstance().sendMessage(qq, message.toString());