Class AutoCompleteHandler
java.lang.Object
io.github.kaktushose.jdac.dispatching.handling.EventHandler<CommandAutoCompleteInteractionEvent>
io.github.kaktushose.jdac.dispatching.handling.AutoCompleteHandler
- All Implemented Interfaces:
BiConsumer<CommandAutoCompleteInteractionEvent, Runtime>
@Internal
public final class AutoCompleteHandler
extends EventHandler<CommandAutoCompleteInteractionEvent>
-
Nested Class Summary
Nested classes/interfaces inherited from class EventHandler
EventHandler.PreparationResult -
Field Summary
Fields inherited from class EventHandler
errorMessageFactory, interactionRegistry, INVOCATION_PERMITTED, log, runtimeIntrospection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable EventHandler.PreparationResultprepare(CommandAutoCompleteInteractionEvent event, Runtime runtime) Methods inherited from class EventHandler
acceptMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
AutoCompleteHandler
-
-
Method Details
-
prepare
protected @Nullable EventHandler.PreparationResult prepare(CommandAutoCompleteInteractionEvent event, Runtime runtime) - Specified by:
preparein classEventHandler<CommandAutoCompleteInteractionEvent>
-