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 911c9ae..3749cb5 100644 --- a/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java +++ b/src/main/java/com/yutou/qqbot/models/BiliBili/BiliBiliLive.java @@ -82,9 +82,11 @@ public class BiliBiliLive extends Model { message.append(id) .append(":") .append(BiliBiliUtils.getUserInfo( - BiliBiliUtils.getLiveRoom(Integer.parseInt(id)) - .getJSONObject("data") - .getInteger("uid"))) + BiliBiliUtils.getLiveRoom(Integer.parseInt(id)) + .getJSONObject("data") + .getInteger("uid")) + .getJSONObject("data") + .getString("name")) .append("\n"); } QQBotManager.getInstance().sendMessage(qq, message.toString());