@FunctionalInterface public interface PostCommandExecutedHook<A extends CommandActor> extends Hook
This hook is only fired for commands that have been successfully executed. Any command that errors in the process will not be invoked here.
| Modifier and Type | Method and Description |
|---|---|
void |
onPostExecuted(@NotNull ExecutableCommand<A> command,
@NotNull ExecutionContext<A> context)
Invokes the hook for a command whose action has been successfully executed
|
void onPostExecuted(@NotNull
@NotNull ExecutableCommand<A> command,
@NotNull
@NotNull ExecutionContext<A> context)
command - The command that will be executedcontext - The execution context