mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 02:50:15 +08:00
Make CommandOwner open
This commit is contained in:
parent
5812ed691a
commit
c1c84575f3
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user