bot.error Module#

Methods for error handlers.

async bot.error.error(update, context)

Informs the originator of the update that an error occurred and forwards the traceback to the admin.

Parameters:
Return type:

None

async bot.error.hyphenation_error(update, context)

Handles hyphenation errors by informing the triggering user about them.

Parameters:
Return type:

None