on Generic Exception
open fun onGenericException(context: SlashCommandContext, command: BaseSlashCommand, ex: Exception)
Content copied to clipboard
Executed when a command return an exception
Parameters
context
The current SlashCommandContext
command
The command that throw the exception BaseSlashCommand
ex
The threw exception