Intercepted

class Intercepted(call: CommandCall?, resolvedCall: ResolvedCommandCall?, command: Command?, reason: InterceptedReason) : CommandExecuteResult.Failure

没有匹配的指令

Constructors

Intercepted
Link copied to clipboard
fun Intercepted(call: CommandCall?, resolvedCall: ResolvedCommandCall?, command: Command?, reason: InterceptedReason)

Properties

call
Link copied to clipboard
open override val call: CommandCall?

解析的 CommandCall (如果匹配到)

command
Link copied to clipboard
open override val command: Command?

尝试执行的指令 (如果匹配到)

exception
Link copied to clipboard
open override val exception: Nothing?

指令执行时发生的错误, 总是 null

reason
Link copied to clipboard
val reason: InterceptedReason

拦截原因

resolvedCall
Link copied to clipboard
open override val resolvedCall: ResolvedCommandCall?

解析的 ResolvedCommandCall (如果匹配到)