@FunctionalInterface public interface CommandExecutedHook<A extends CommandActor> extends Hook
| Modifier and Type | Method and Description |
|---|---|
void |
onExecuted(@NotNull ExecutableCommand<A> command,
@NotNull ExecutionContext<A> context,
@NotNull CancelHandle cancelHandle)
Invokes the hook for a command whose action is about to be executed
|
void onExecuted(@NotNull
@NotNull ExecutableCommand<A> command,
@NotNull
@NotNull ExecutionContext<A> context,
@NotNull
@NotNull CancelHandle cancelHandle)
command - The command that will be executedcontext - The execution contextcancelHandle - A handle that allows the hook to cancel the command execution