mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.command
/
RawCommand
/
onCommand
on
Command
open
suspend
fun
CommandSender
.
onCommand
(
args
:
MessageChain
)
在指令被执行时调用.
Parameters
args
指令参数.
See also
Command
Manager.
execute
Command
查看更多信息
open
suspend
fun
CommandContext
.
onCommand
(
args
:
MessageChain
)
在指令被执行时调用.
Since
2.12
Parameters
args
指令参数.
See also
Command
Manager.
execute
Command
查看更多信息