Use super.description for JCompositeCommand.description

This commit is contained in:
Him188 2020-11-10 08:57:25 +08:00
parent f51003ad58
commit e3aceec0b4

View File

@ -77,7 +77,7 @@ public abstract class JCompositeCommand
parentPermission: Permission = owner.parentPermission,
) : CompositeCommand(owner, primaryName, secondaryNames = secondaryNames, parentPermission = parentPermission) {
/** 指令描述, 用于显示在 [BuiltInCommands.HelpCommand] */
public final override var description: String = "<no descriptions available>"
public final override var description: String = super.description
protected set
public final override var permission: Permission = super.permission