reportError

abstract fun reportError(message: String, e: Throwable)(source)

Send an error message to the event's GuildMessageChannel and to the bot owner with the exception name and the simple exception description

Parameters

message

Custom message of what part of the command failed

e

The Exception that occurred