GlobalExceptionHandlerAdapter

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
fun onException(@Nullable event: @Nullable Event, @NotNull throwable: @NotNull Throwable)
Note: You are sent a generic Event, you will need to check it against SlashCommandInteractionEvent, GuildMessageReceivedEvent, etc...