title: discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'link'
body: <p>I tried to make a discord.py bot command that sends random dog fact and image but i've got this error:</p>
  <pre><code>discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'link'
  </code></pre>
  <p>Here's the code:</p>
  <pre><code>@bot.command()
  async def dog(ctx):
      response = requests.get('https://some-random-api.ml/animal/dog')
      json_data = json.loads(response.text) 
  
      embed = discord.Embed(color = 0xff9900, title = 'random dog fact') 
      embed.set_image(url = json_data['link']) 
      await ctx.send(embed = embed)
  </code></pre>