dest = lib.parent.cfg.get('exception_hook', 'destination')
if dest is not None:
bot.msg(dest, '%s exception: %r %r' % (source, args, kwargs))
dest = lib.parent.cfg.get('exception_hook', 'destination')
if dest is not None:
bot.msg(dest, '%s exception: %r %r' % (source, args, kwargs))