feat: more login info (#2304)

This commit is contained in:
cssxsh 2022-10-27 01:46:43 +08:00 committed by GitHub
parent 48143d7b3c
commit 1b5f45cd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,7 +356,6 @@ ___ ____ _ _____ _
}
if (id == 123456L) continue
fun BotConfiguration.configBot() {
mainLogger.info { "Auto-login ${account.account}" }
account.configuration[ConfigurationKey.protocol]?.let { protocol ->
this.protocol = runCatching {
@ -381,6 +380,8 @@ ___ ____ _ _____ _
account.configuration[ConfigurationKey.device]?.let { device ->
fileBasedDeviceInfo(device.toString())
}
mainLogger.info { "Auto-login ${account.account}, protocol: ${this.protocol}, heartbeatStrategy: ${this.heartbeatStrategy}" }
}
val bot = when (account.password.kind) {