title: Discord.js Embed Title and Thumbnail not being set
body: <p>I have gotten all of my embeds to work, but when I try to write one with a variable instead of just giving it a string, it creates a blank embed in Discord. Are there any certain permissions that may be preventing the bot from using API information in an embed?</p>
  <pre><code>command(client, ['s', 'S'], (message) =&gt; {
      const arg = message.content.slice(prefix.length + &quot;s&quot;.length).trim()
      var title = &quot;&quot;
      var img = &quot;&quot;
      
      imdb.searchMovies(arg, movies =&gt; {
          title = movies[0].title
          console.log(title)
          img = movies[0].primaryPhoto
          console.log(img)
      }, error =&gt; {
          console.log(error)
      })
  
      const embed = new Discord.MessageEmbed()
      .setTitle(title)
      .setThumbnail(img)
  
      message.channel.send(embed)
  })
  </code></pre>