From e9595075e079ed3e6531f691cb89e6c24c0bfce3 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 29 Aug 2020 16:14:15 +0800 Subject: [PATCH] Update syntax hint for ExistingMemberArgumentParser --- .../console/command/description/CommandArgParserBuiltins.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgParserBuiltins.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgParserBuiltins.kt index 21deaf53a..b427f60a8 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgParserBuiltins.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgParserBuiltins.kt @@ -225,6 +225,7 @@ public object ExistingMemberArgumentParser : InternalCommandArgumentParserExtens - `~` (指代指令调用人自己. 仅聊天环境下) - `groupId.$` (随机成员) + 当处于一个群内时, `botId` 和 `groupId` 参数都可省略 当只登录了一个 [Bot] 时, `botId` 参数可省略 """.trimIndent()