onGenericException

open fun onGenericException(context: SlashCommandContext, command: BaseSlashCommand, ex: Exception)

Executed when a command return an exception

Parameters

context
command

The command that throw the exception BaseSlashCommand

ex

The threw exception