Пример #1
0
 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 :(")
Пример #2
0
    async def animal(ctx, name):
        await ctx.message.delete()
        animal = Animals(name)

        await ctx.send(animal.image())
def img1():
    an = Animals('dog')
    return (an.image())