[Add] BotAdminCommandProcess, PixivDownload 增加日志输出内容;

[Change] RandomIntervalSendTimer 对AutoSender增加异常捕获以减少对其他Timer执行的影响;
This commit is contained in:
2020-04-25 17:02:01 +08:00
parent aaa1bc932b
commit 410d6c0828
3 changed files with 11 additions and 4 deletions

View File

@ -265,12 +265,13 @@ public class BotAdminCommandProcess {
pageQuality
);
RandomIntervalSendTimer.createTimer(
RandomIntervalSendTimer timer = RandomIntervalSendTimer.createTimer(
id,
sender,
setting.get("time.min").getAsLong(),
setting.get("time.float").getAsInt(),
true, true);
log.info("群组 {} 已创建对应Timer: {}", id, Integer.toHexString(timer.hashCode()));
}
/**