onCommand

open fun onCommand(sender: CommandSender, args: MessageChain)

在指令被执行时调用.

Since

2.8

See also

Parameters

args

指令参数.


open fun onCommand(context: CommandContext, args: MessageChain)

在指令被执行时调用.

Since

2.12

See also

Parameters

args

指令参数.