def talents(self, ctx, *, hero : str):
"""Gets the talents of a specific hero
You can give this command almost any variant of the hero's name, or the hero's id, in the same format as `{cmdpfx}hero`
**Examples:**
`{cmdpfx}talents shadow fiend`"""
hero = self.lookup_hero(hero)
if not hero:
raise UserError("That doesn't look like a hero")
image = await drawdota.draw_hero_talents(hero)
image = discord.File(image, f"{hero.name}_talents.png")
await ctx.send(file=image)
评论列表
文章目录