mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Install ConfigurationKey.Parser to ConfigurationKey for AutoLoginCommand
This commit is contained in:
parent
d9ea033275
commit
6ac08732f5
@ -224,6 +224,9 @@ public object BuiltInCommands {
|
|||||||
public object AutoLoginCommand : CompositeCommand(
|
public object AutoLoginCommand : CompositeCommand(
|
||||||
ConsoleCommandOwner, "autoLogin", "自动登录",
|
ConsoleCommandOwner, "autoLogin", "自动登录",
|
||||||
description = "自动登录设置",
|
description = "自动登录设置",
|
||||||
|
overrideContext = buildCommandArgumentContext {
|
||||||
|
ConfigurationKey::class with ConfigurationKey.Parser
|
||||||
|
}
|
||||||
), BuiltInCommandInternal {
|
), BuiltInCommandInternal {
|
||||||
|
|
||||||
@Description("添加自动登录")
|
@Description("添加自动登录")
|
||||||
|
Loading…
Reference in New Issue
Block a user