Class ModalHandler
java.lang.Object
com.github.kaktushose.jda.commands.dispatching.handling.EventHandler<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent>
com.github.kaktushose.jda.commands.dispatching.handling.ModalHandler
- All Implemented Interfaces:
BiConsumer<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent,
Runtime>
public final class ModalHandler
extends EventHandler<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent>
-
Field Summary
Fields inherited from class com.github.kaktushose.jda.commands.dispatching.handling.EventHandler
adapterRegistry, dispatchingContext, errorMessageFactory, INVOCATION_PERMITTED, log, middlewares, registry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InvocationContext
<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent> prepare
(@NotNull net.dv8tion.jda.api.events.interaction.ModalInteractionEvent event, @NotNull Runtime runtime) Methods inherited from class com.github.kaktushose.jda.commands.dispatching.handling.EventHandler
accept
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
ModalHandler
-
-
Method Details
-
prepare
protected InvocationContext<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent> prepare(@NotNull @NotNull net.dv8tion.jda.api.events.interaction.ModalInteractionEvent event, @NotNull @NotNull Runtime runtime) - Specified by:
prepare
in classEventHandler<net.dv8tion.jda.api.events.interaction.ModalInteractionEvent>
-