QQ机器人关闭日志输出

This commit is contained in:
yutou
2020-10-27 18:04:59 +08:00
parent 1b21930013
commit ab68270749
3 changed files with 4 additions and 2 deletions

View File

@@ -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());