Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在mirai-console插件开发中 如何以控制台身份执行命令并获取返回? CommandExecuteResult这个又该如何使用呢 以及插件怎么获取控制台的日志?
when (val result = CommandManager.executeCommand(ConsoleCommandSender, YourCommand)) { is PermissionDenied -> {} // 此处省略 }
我只知道有这个,但没实际用过