From 16598ee8ec81e7a83e14d5908bf7fff2e0fb4636 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 18 Sep 2020 23:33:08 +0800 Subject: [PATCH] Fix docs --- .../main/kotlin/net/mamoe/mirai/console/command/RawCommand.kt | 2 +- .../kotlin/net/mamoe/mirai/console/command/java/JRawCommand.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/RawCommand.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/RawCommand.kt index eeabedc10..3e967be97 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/RawCommand.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/RawCommand.kt @@ -41,7 +41,7 @@ public abstract class RawCommand( public override vararg val secondaryNames: String, /** 用法说明, 用于发送给用户 */ public override val usage: String = "", - /** 指令描述, 用于显示在 [BuiltInCommands.Help] */ + /** 指令描述, 用于显示在 [BuiltInCommands.HelpCommand] */ public override val description: String = "", /** 指令父权限 */ parentPermission: Permission = owner.parentPermission, diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/java/JRawCommand.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/java/JRawCommand.kt index 3815a7332..8f773cd51 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/java/JRawCommand.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/java/JRawCommand.kt @@ -59,7 +59,7 @@ public abstract class JRawCommand public override var usage: String = "" protected set - /** 指令描述, 用于显示在 [BuiltInCommands.Help] */ + /** 指令描述, 用于显示在 [BuiltInCommands.HelpCommand] */ public final override var description: String = "" protected set