add user info

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

View File

@ -84,7 +84,9 @@ public class BiliBiliLive extends Model {
.append(BiliBiliUtils.getUserInfo( .append(BiliBiliUtils.getUserInfo(
BiliBiliUtils.getLiveRoom(Integer.parseInt(id)) BiliBiliUtils.getLiveRoom(Integer.parseInt(id))
.getJSONObject("data") .getJSONObject("data")
.getInteger("uid"))) .getInteger("uid"))
.getJSONObject("data")
.getString("name"))
.append("\n"); .append("\n");
} }
QQBotManager.getInstance().sendMessage(qq, message.toString()); QQBotManager.getInstance().sendMessage(qq, message.toString());