Make CommandOwner open

This commit is contained in:
PeratX 2020-08-22 14:35:00 +08:00
parent 5812ed691a
commit c1c84575f3

View File

@ -179,12 +179,12 @@ public interface CommandManager {
* 指令的所有者. * 指令的所有者.
* @see PluginCommandOwner * @see PluginCommandOwner
*/ */
public sealed class CommandOwner public open class CommandOwner
/** /**
* 插件指令所有者. 插件只能通过 [PluginCommandOwner] 管理指令. * 插件指令所有者. 插件只能通过 [PluginCommandOwner] 管理指令.
*/ */
public abstract class PluginCommandOwner( public class PluginCommandOwner(
public val plugin: Plugin public val plugin: Plugin
) : CommandOwner() { ) : CommandOwner() {
init { init {