Companion

object Companion

Functions

Link copied to clipboard
fun CommandCall.intercepted(): InterceptResult<CommandCall>

使用 CommandCallInterceptor 依次调用 interceptBeforeCall. 在第一个拦截时返回拦截原因, 在所有 CommandCallInterceptor 都处理完成后返回结果 CommandCall

使用 CommandCallInterceptor 依次调用 interceptBeforeCall. 在第一个拦截时返回拦截原因, 在所有 CommandCallInterceptor 都处理完成后返回结果 ResolvedCommandCall

fun Message.intercepted(caller: CommandSender): InterceptResult<Message>

使用 CommandCallInterceptor 依次调用 interceptBeforeCall. 在第一个拦截时返回拦截原因, 在所有 CommandCallInterceptor 都处理完成后返回结果 Message