Class ContextCommandHandler

java.lang.Object
com.github.kaktushose.jda.commands.dispatching.handling.EventHandler<net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?>>
com.github.kaktushose.jda.commands.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<?>>
  • Constructor Details

    • ContextCommandHandler

      public ContextCommandHandler(DispatchingContext dispatchingContext)
  • Method Details

    • prepare

      protected InvocationContext<net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?>> prepare(@NotNull @NotNull net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?> event, @NotNull @NotNull Runtime runtime)
      Specified by:
      prepare in class EventHandler<net.dv8tion.jda.api.events.interaction.command.GenericContextInteractionEvent<?>>