async def tano(ctx, *args): try: string = ' '.join(args) await ctx.send(file=generate_card(string, "templates/imgs/tano.png", "tano", 35, 330, 115, (0, 0, 0), 15)) except FutebotException as e: puts.info(e) await ctx.send(rec[random.randrange(0, len(rec) - 1)])
async def gordo(ctx, *args): try: string = ' '.join(args) await ctx.send(file=generate_card(string, "templates/imgs/gordo.png", "gordo", 40, 200, 525, (255, 0, 0), 10)) except FutebotException as e: puts.info(e) await ctx.send(rec[random.randrange(0, len(rec) - 1)])
async def tomacu(ctx, *args): try: string = ' '.join(args) await ctx.send(file=generate_card(string, "templates/imgs/tomacu.png", "tomacu", 40, 560, 110, (0, 0, 0), 15)) except FutebotException as e: puts.info(e) await ctx.send(rec[random.randrange(0, len(rec) - 1)])
async def soniko(ctx, *args): try: string = ' '.join(args) await ctx.send(file=generate_card(string, "templates/imgs/soniko.png", "soniko", 25, 83, 274, (0, 0, 0), 23)) except FutebotException as e: puts.info(e) await ctx.send(rec[random.randrange(0, len(rec) - 1)])
async def buemo(ctx, *args): try: string = ' '.join(args) await ctx.send(file=generate_card(string, "templates/imgs/buemo.png", "buemo", 35, 20, 100, (0, 0, 0), 40, "helvetica")) except FutebotException as e: puts.info(e) await ctx.send(rec[random.randrange(0, len(rec) - 1)])
async def speech(ctx, *args): try: string = " ".join(args) if not string.isdigit(): await ctx.send(rec[random.randrange(0, len(rec) - 1)]) return await ctx.send(file=generate_card(string, "templates/imgs/speech.png", "speech", 110, 670, 10, (255, 255, 255), 4)) except FutebotException as e: puts.info(e) await ctx.send(rec[random.randrange(0, len(rec) - 1)])