mirror of
https://github.com/Geniusay/ChopperBot.git
synced 2026-05-21 01:46:56 +08:00
修复LiverFollower插件启动bug
This commit is contained in:
9
chopperbot-console/src/main/resources/banner.txt
Normal file
9
chopperbot-console/src/main/resources/banner.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
________ ___ ___ ________ ________ ________ _______ ________ ________ ________ _________
|
||||
|\ ____\|\ \|\ \|\ __ \|\ __ \|\ __ \|\ ___ \ |\ __ \ |\ __ \|\ __ \|\___ ___\
|
||||
\ \ \___|\ \ \\\ \ \ \|\ \ \ \|\ \ \ \|\ \ \ __/|\ \ \|\ \ \ \ \|\ /\ \ \|\ \|___ \ \_|
|
||||
\ \ \ \ \ __ \ \ \\\ \ \ ____\ \ ____\ \ \_|/_\ \ _ _\ \ \ __ \ \ \\\ \ \ \ \
|
||||
\ \ \____\ \ \ \ \ \ \\\ \ \ \___|\ \ \___|\ \ \_|\ \ \ \\ \| \ \ \|\ \ \ \\\ \ \ \ \
|
||||
\ \_______\ \__\ \__\ \_______\ \__\ \ \__\ \ \_______\ \__\\ _\ \ \_______\ \_______\ \ \__\
|
||||
\|_______|\|__|\|__|\|_______|\|__| \|__| \|_______|\|__|\|__| \|_______|\|_______| \|__|
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
<encoder>
|
||||
<pattern>%red(%d{yyyy-MM-dd HH:mm:ss}) %boldMagenta([%logger]) %highlight(%-5level) - %msg%n</pattern>
|
||||
<!--如果线上log日志出现中文乱码,下面这句有关编码设置的要删除或注释掉,原因不明-->
|
||||
<charset>UTF-8</charset>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public class LiverFollower extends SpringBootPlugin {
|
||||
FileCache fileCache = plugin.getFileCache(HotModuleConfig.getFullFilePath());
|
||||
focusLive = (Integer)fileCache.get("LiverFollower", "focusLive")==1;
|
||||
//focusBarrage = (Integer)fileCache.get("LiverFollower", "focusBarrage")==1;
|
||||
checkTime = Integer.toUnsignedLong((Integer) fileCache.get("LiverFollower", "checkTime"));
|
||||
checkTime = Long.parseLong(fileCache.get("LiverFollower", "checkTime").toString());
|
||||
focusRecord = (Integer)fileCache.get("LiverFollower", "focusRecord")==1;
|
||||
checkTime = (Integer)fileCache.get("LiverFollower", "checkTime");
|
||||
focusLivers = service.getFocusLivers();
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
"LiverFollower":{
|
||||
"checkTime":120000,
|
||||
"focusRecord":1,
|
||||
"focusLive":1,
|
||||
"focusLive":0,
|
||||
"focusBarrage":1
|
||||
}
|
||||
},
|
||||
"updateTime":"2023-10-13 15:24:06"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,5 +31,5 @@
|
||||
"CreeperConfig":true
|
||||
}
|
||||
},
|
||||
"updateTime":"2023-10-13 15:23:06"
|
||||
"updateTime":"2023-10-13 16:27:29"
|
||||
}
|
||||
Reference in New Issue
Block a user