Class AutoCompleteExceptionEvent

java.lang.Object
xyz.dynxsty.dih4jda.events.DIH4JDAEvent<net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction>
xyz.dynxsty.dih4jda.events.DIH4JDAThrowableEvent<net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction>
xyz.dynxsty.dih4jda.events.AutoCompleteExceptionEvent

public class AutoCompleteExceptionEvent extends DIH4JDAThrowableEvent<net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction>
An event that gets fired when an exception gets raised while handling an autocomplete interaction.
See Also:
  • Constructor Details

    • AutoCompleteExceptionEvent

      public AutoCompleteExceptionEvent(@Nonnull DIH4JDA dih4jda, @Nonnull net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction interaction, @Nonnull Throwable throwable)
      Creates an exception event object.
      Parameters:
      dih4jda - the DIH4JDA instance that fired the event.
      interaction - the CommandAutoCompleteInteraction.
      throwable - the Throwable that was thrown.