Class ModalHandler
java.lang.Object
io.github.kaktushose.jdac.dispatching.handling.EventHandler<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent>
io.github.kaktushose.jdac.dispatching.handling.ModalHandler
- All Implemented Interfaces:
BiConsumer<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent, Runtime>
@Internal
public final class ModalHandler
extends EventHandler<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent>
-
Field Summary
Fields inherited from class EventHandler
adapterRegistry, context, errorMessageFactory, interactionRegistry, INVOCATION_PERMITTED, log, middlewares, RICH_INVOCATION_CONTEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InvocationContext<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent> 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
-
ModalHandler
-
-
Method Details
-
prepare
protected InvocationContext<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent> prepare(net.dv8tion.jda.api.events.interaction.ModalInteractionEvent event, Runtime runtime) - Specified by:
preparein classEventHandler<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent>
-