示例#1
0
async def stars(ctx, *, division=None):
    """Get stars earned by each fleet during final tournament week. Replace [division] with a division name (a, b, c or d)"""
    async with ctx.typing():
        txt = flt.get_division_stars(division)
    txt_split = txt.split('\n\n')
    for division_list in txt_split:
        await ctx.send(division_list)
示例#2
0
async def stars(ctx, *, division=None):
    """Get stars earned by each fleet during final tournament week"""
    if division is None:
        txt = 'Enter: {}stars [division]'.format(command_prefix)
        await ctx.send(txt)
        return
    txt = command_prefix + 'stars {}'.format(division)
    # write_log(txt, ctx.author, ctx.server)
    txt = flt.get_division_stars(division)
    await ctx.send(txt)
示例#3
0
async def stars(ctx, *, division=None):
    """Get stars earned by each fleet during final tournament week"""
    txt = flt.get_division_stars(division)
    await ctx.send(txt)