Class ContextCommandHandler
java.lang.Object
io.github.kaktushose.jdac.dispatching.handling.EventHandler<net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?>>
io.github.kaktushose.jdac.dispatching.handling.command.ContextCommandHandler
- All Implemented Interfaces:
BiConsumer<net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?>, Runtime>
@Internal
public final class ContextCommandHandler
extends EventHandler<net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?>>
-
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 EventHandler.PreparationResultprepare(net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?> 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
-
ContextCommandHandler
-
-
Method Details
-
prepare
protected EventHandler.PreparationResult prepare(net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?> event, Runtime runtime) - Specified by:
preparein classEventHandler<net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?>>
-