@FunctionalInterface public interface CommandUnregisteredHook<A extends CommandActor> extends Hook
| Modifier and Type | Method and Description |
|---|---|
void |
onUnregistered(@NotNull ExecutableCommand<A> command,
@NotNull CancelHandle cancelHandle)
Invokes the hook for a command that is about to be unregistered
|
void onUnregistered(@NotNull
@NotNull ExecutableCommand<A> command,
@NotNull
@NotNull CancelHandle cancelHandle)
command - The command that will be unregisteredcancelHandle - A handle that allows the hook to cancel the command un-registration