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<?>>
  • Constructor Details

    • ContextCommandHandler

      public ContextCommandHandler(FrameworkContext context)
  • Method Details

    • prepare

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