CommandFailEvent(@Nonnull api: JDA, responseNumber: Long, @Nonnull guild: Guild, @NotNull context: @NotNull Context, @NotNull throwable: @NotNull Throwable)
Constructs an CommandFailEvent
.
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