title: Discord.js | random-puppy embed doesn't work
body: <p>I've tried adding a command in my discord bot that shows a random image from the "frogs" subreddit, but it doesn't show the image, and if I try console.log, it sends the actual (working) link.
  Here's that code:</p>
  
  <pre><code>const randomPuppy = require('random-puppy');
      randomPuppy('frogs').then(url =&gt; {
          const frogEmbed = new Discord.MessageEmbed()
              .setAuthor('froggo - r/frogs', 'https://i.imgur.com/0RLKc78.jpg?1')
              .setColor(0x348a58)
              .setThumbnail(url + '.png')
              .setFooter('aaaaaaaaaaaaa')
          setTimeout(() =&gt; { message.channel.send(frogEmbed) }, 10000);
          console.log(url)
      });
  </code></pre>
  
  <p>The result is an embed <strong>without an image.</strong></p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I found out that most of the time it works, even with different extensions, but it has periods when it just never works for like 5 minutes. I don't know how to resolve this, and I hope it's just a Reddit or igmur api error (or just a pc error).</p>
  
  <p>Happened again. This time I logged the URLs, and in that short period of time (like 3 minutes), there were no URLs in the console at all. Other commands worked, so i dont think its a connectivity problem.</p>