onCommand

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

在指令被执行时调用.

Since

2.8

Parameters

args

指令参数.

See also


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

在指令被执行时调用.

Since

2.12

Parameters

args

指令参数.

See also