QQ机器人关闭日志输出
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user