CommandCallInterceptor

interface CommandCallInterceptor

指令解析和调用拦截器. 用于在指令各解析阶段拦截或转换调用.

Types

Companion
Link copied to clipboard
object Companion

Functions

interceptBeforeCall
Link copied to clipboard
open fun interceptBeforeCall(message: Message, caller: CommandSender): InterceptResult<Message>?

在指令语法解析前调用.

interceptCall
Link copied to clipboard
open fun interceptCall(call: CommandCall): InterceptResult<CommandCall>?

在指令语法解析后调用.

interceptResolvedCall
Link copied to clipboard

在指令调用解析后调用.