mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-13 14:50:43 +08:00
Add description for AutoLoginCommand passwordKind, fix #344
This commit is contained in:
parent
247cdb4414
commit
ad8cc21ee4
@ -306,7 +306,7 @@ public object BuiltInCommands {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@Description("添加自动登录")
|
@Description("添加自动登录, passwordKind 可选 PLAIN 或 MD5")
|
||||||
@SubCommand
|
@SubCommand
|
||||||
public suspend fun CommandSender.add(account: Long, password: String, passwordKind: PasswordKind = PLAIN) {
|
public suspend fun CommandSender.add(account: Long, password: String, passwordKind: PasswordKind = PLAIN) {
|
||||||
val accountStr = account.toString()
|
val accountStr = account.toString()
|
||||||
|
Loading…
Reference in New Issue
Block a user