common / me.schlaubi.regnumutils.command.event / CommandFailEvent / <init>

<init>

CommandFailEvent(@Nonnull api: JDA, responseNumber: Long, @Nonnull guild: Guild, @NotNull context: @NotNull Context, @NotNull throwable: @NotNull Throwable)

Constructs an CommandFailEvent.

Parameters

api - JDA: the JDA instance

responseNumber - Long: the response number

guild - Guild: the Guild on which the command failed

context - Context: the Context of the command

throwable - Throwable: the Throwable that caused the command to fail