PermissionDenied

class PermissionDenied(val command: Command, val call: CommandCall, val resolvedCall: ResolvedCommandCall) : CommandExecuteResult.Failure

权限不足

Constructors

Link copied to clipboard
constructor(command: Command, call: CommandCall, resolvedCall: ResolvedCommandCall)

Properties

Link copied to clipboard
open override val call: CommandCall

解析的 CommandCall (如果匹配到)

Link copied to clipboard
open override val command: Command

尝试执行的指令

Link copied to clipboard
open override val exception: Nothing?

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

Link copied to clipboard

解析的 ResolvedCommandCall (如果匹配到)