feat: 添加一个登录时间

main
LyMysterious 10 months ago
parent 3d1749601c
commit 99fbb78307

@ -56,7 +56,7 @@ bot.Invoker.OnBotLogEvent += (sender, e) =>
{ {
RecordLog = false; RecordLog = false;
LoginSuccess = true; LoginSuccess = true;
Logs.Write($"Login success: {bot.BotUin} {bot.BotName}"); Logs.Write($"Login success: {bot.BotUin} {bot.BotName} {DateTime.Now}");
_ = KeystoreConfig.SaveBotKeystore(bot.UpdateKeystore()); _ = KeystoreConfig.SaveBotKeystore(bot.UpdateKeystore());
LoadLoginConfig(); LoadLoginConfig();
} }

Loading…
Cancel
Save