mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Use super.description for JCompositeCommand.description
This commit is contained in:
parent
f51003ad58
commit
e3aceec0b4
@ -77,7 +77,7 @@ public abstract class JCompositeCommand
|
|||||||
parentPermission: Permission = owner.parentPermission,
|
parentPermission: Permission = owner.parentPermission,
|
||||||
) : CompositeCommand(owner, primaryName, secondaryNames = secondaryNames, parentPermission = parentPermission) {
|
) : CompositeCommand(owner, primaryName, secondaryNames = secondaryNames, parentPermission = parentPermission) {
|
||||||
/** 指令描述, 用于显示在 [BuiltInCommands.HelpCommand] */
|
/** 指令描述, 用于显示在 [BuiltInCommands.HelpCommand] */
|
||||||
public final override var description: String = "<no descriptions available>"
|
public final override var description: String = super.description
|
||||||
protected set
|
protected set
|
||||||
|
|
||||||
public final override var permission: Permission = super.permission
|
public final override var permission: Permission = super.permission
|
||||||
|
Loading…
Reference in New Issue
Block a user