add user info

This commit is contained in:
Yutousama 2022-10-14 21:31:57 +08:00
parent 22add886d5
commit 28167c7f49

View File

@ -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());