import requests
import string, json
bot = commands.Bot(command_prefix = 'prefix')
@bot.command()
async def fox(ctx):
response = requests.get('https://some-random-api.ml/img/fox')
json_data = json.loads(response.text)
embed = discord.Embed(color = 0xff9900, title = 'Рандомная Лиса')
embed.set_image(url = json_data['link'])
embed.set_footer(text = ctx.author.name , icon_url = ctx.author.avatar_url)
await ctx.send(embed = embed)
bot.run('token')