dispatchException

open fun dispatchException(message: String, t: Throwable?)(source)

Sends an exception message to the bot owners.

Parameters

message

The message describing the context

t

An optional exception


abstract fun dispatchException(message: String, t: Throwable?, extraContext: Map<String, Any?>)(source)

Sends an exception message to the bot owners.

Parameters

message

The message describing the context

t

An optional exception

extraContext

Additional context of the exception; can be empty