Exemplo n.º 1
0
async def credits(ctx):
    log_function("credits", ctx)
    await cmd.credits.credits(ctx)
Exemplo n.º 2
0
async def help(ctx, *args):
    log_function("help", ctx)
    await cmd.help.help(client, ctx, *args)
Exemplo n.º 3
0
async def function_check(ctx, function: str, check=True):
    log_function(function, ctx)
    if not await verify_channel(ctx, check): return None
    return bot.server[str(ctx.guild.id)]
Exemplo n.º 4
0
async def function_check_play(ctx, function: str):
    log_function(function, ctx)
    if not await verify_channel_play(ctx): return None
    return bot.server[str(ctx.guild.id)]
Exemplo n.º 5
0
async def _help(ctx: SlashContext, command="help"):
    log_function("help", ctx)
    await ctx.send(embeds=[cmd.help.get_embed(client, command)])