|
|
@ -8,6 +8,10 @@ import commands
|
|
|
|
def cli():
|
|
|
|
def cli():
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@click.command()
|
|
|
|
|
|
|
|
def debug():
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
@click.command()
|
|
|
|
@click.command()
|
|
|
|
def get_registered_users():
|
|
|
|
def get_registered_users():
|
|
|
|
users = db.User.select()
|
|
|
|
users = db.User.select()
|
|
|
@ -36,6 +40,7 @@ def generate_bot_help():
|
|
|
|
if not 'admin' in c:
|
|
|
|
if not 'admin' in c:
|
|
|
|
click.echo(f'{cmd} - {commands.all_commands[cmd]["help"]}')
|
|
|
|
click.echo(f'{cmd} - {commands.all_commands[cmd]["help"]}')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cli.add_command(debug)
|
|
|
|
cli.add_command(get_registered_users)
|
|
|
|
cli.add_command(get_registered_users)
|
|
|
|
cli.add_command(get_address)
|
|
|
|
cli.add_command(get_address)
|
|
|
|
cli.add_command(generate_bot_help)
|
|
|
|
cli.add_command(generate_bot_help)
|
|
|
|