mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
Cleanup
This commit is contained in:
parent
6e22272adf
commit
f2c682dba5
@ -15,12 +15,7 @@ actual var defaultLoginSolver: LoginSolver = object : LoginSolver() {
|
||||
error("should be implemented manually by you")
|
||||
}
|
||||
|
||||
override suspend fun onGetPhoneNumber(): String {
|
||||
override suspend fun onSolveUnsafeDeviceLoginVerify(bot: Bot, url: String): String? {
|
||||
error("should be implemented manually by you")
|
||||
}
|
||||
|
||||
override suspend fun onGetSMSVerifyCode(): String {
|
||||
error("should be implemented manually by you")
|
||||
}
|
||||
|
||||
}
|
@ -53,7 +53,7 @@ class DefaultLoginSolver : LoginSolver() {
|
||||
}
|
||||
bot.logger.info("请输入 4 位字母验证码. 若要更换验证码, 请直接回车")
|
||||
return readLine()?.takeUnless { it.isEmpty() || it.length != 4 }.also {
|
||||
bot.logger.info("正在提交[" + it +"]中...")
|
||||
bot.logger.info("正在提交[$it]中...")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user