From ad8cc21ee48bf0374a420b840aa8302e8ee0beaf Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 30 Oct 2021 14:12:54 +0100 Subject: [PATCH] Add description for AutoLoginCommand passwordKind, fix #344 --- backend/mirai-console/src/command/BuiltInCommands.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/command/BuiltInCommands.kt b/backend/mirai-console/src/command/BuiltInCommands.kt index e31f57a6a..f8e6e5d9d 100644 --- a/backend/mirai-console/src/command/BuiltInCommands.kt +++ b/backend/mirai-console/src/command/BuiltInCommands.kt @@ -306,7 +306,7 @@ public object BuiltInCommands { }) } - @Description("添加自动登录") + @Description("添加自动登录, passwordKind 可选 PLAIN 或 MD5") @SubCommand public suspend fun CommandSender.add(account: Long, password: String, passwordKind: PasswordKind = PLAIN) { val accountStr = account.toString()