failureReporter

abstract fun failureReporter(message: String): Consumer<in Throwable>(source)

Throwable consumer that, when triggered, sends an error message to the event's GuildMessageChannel and to the bot owner with the exception name and the simple exception description

Return

A Throwable consumer

Parameters

message

Custom message of what part of the command failed