async def animal(ctx, name): await ctx.message.delete() animal = Animals(name) try: await ctx.send(animal.image()) except: await ctx.send("we dont have that animal :(")
async def animal(ctx, name): await ctx.message.delete() animal = Animals(name) await ctx.send(animal.image())
def main(): crocodile = Animals('крокодил', 'зеленый', '22') crocodile.get_info() num = Numbers() num.info()
def img1(): an = Animals('dog') return (an.image())