修复B站直播签到问题

This commit is contained in:
yutou 2023-07-21 01:10:03 +08:00
parent 2c456702d8
commit 00cdf7b96e

View File

@ -39,7 +39,7 @@ public class BiliBiliLive extends Model {
public synchronized void onTime(Long qq, String time) {
super.onTime(qq, time);
if ("00:01:00".equals(time)) {
if (!new BiliLogin(qq).testLogin()) {
if (!new BiliLogin(QQBotManager.defQQ).testLogin()) {
new BiliLogin(QQBotManager.defQQ).loginAsQQ();
System.out.println(BiliBiliUtils.getInstance(QQBotManager.defQQ).getLoginInfo());
return;