fix int.parseInt
This commit is contained in:
parent
28167c7f49
commit
6de3f5d738
@ -38,7 +38,7 @@ public class BiliBiliLive extends Model {
|
||||
Set<String> biliLive = RedisTools.list_get("bili_live");
|
||||
StringBuilder builder = new StringBuilder();
|
||||
for (String id : biliLive) {
|
||||
boolean sign = BiliBiliUtils.sendLiveDanmu(Integer.getInteger(id), "打卡");
|
||||
boolean sign = BiliBiliUtils.sendLiveDanmu(Integer.parseInt(id), "打卡");
|
||||
builder.append("BiliLiveSign ").append(id).append(":").append(sign).append("\n");
|
||||
}
|
||||
QQBotManager.getInstance().sendMessage(qq, builder.toString());
|
||||
@ -51,6 +51,10 @@ public class BiliBiliLive extends Model {
|
||||
if (!msg.startsWith(QQGroupCommands.BILI_LIVE_DANMU_SEND) && !msg.startsWith(QQGroupCommands.BILI_LIVE_DANMU_DEL)) {
|
||||
return;
|
||||
}
|
||||
if(msg.equals(QQGroupCommands.BILI_LIVE_DANMU_SEND+"debug")){
|
||||
onTime(qq,"00:01:00");
|
||||
return;
|
||||
}
|
||||
StringBuilder message;
|
||||
message = new StringBuilder();
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user