QQ机器人关闭日志输出
This commit is contained in:
parent
1b21930013
commit
ab68270749
2
pom.xml
2
pom.xml
@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>com.yutou</groupId>
|
||||
<artifactId>tools</artifactId>
|
||||
<version>1.0.10</version>
|
||||
<version>1.0.10.1</version>
|
||||
<name>tools</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
|
@ -15,7 +15,7 @@ import java.io.IOException;
|
||||
public class ToolsApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("当前版本号:1.0.10");
|
||||
System.out.println("当前版本号:1.0.10.1");
|
||||
SpringApplication.run(ToolsApplication.class, args);
|
||||
RedisTools.initRedisPoolSub();
|
||||
if (APIFilter.isDebug) {
|
||||
|
@ -47,6 +47,8 @@ public class QQBotManager {
|
||||
bot = BotFactoryJvm.newBot(qq, password, new BotConfiguration() {
|
||||
{
|
||||
fileBasedDeviceInfo("qq_bot_devices_info.json");
|
||||
noBotLog();
|
||||
noNetworkLog();
|
||||
}
|
||||
});
|
||||
Events.registerEvents(bot, new MessageListener());
|
||||
|
Loading…
Reference in New Issue
Block a user