def cli()

in bot/__main__.py [0:0]


def cli(ctx, conf_file):
    from .config import load

    try:
        global config
        if Path(conf_file).exists():
            config = load(conf_file)
    except Exception as e:
        click.echo(f"Configuration error: {e}", err=True)
        ctx.exit(1)