title: "Error: FFMPEG not found": Error with simple Discord Bot
body: <p>I'm using Windows (64-bit) with Node.js and npm installed.
  In my project file, I have run the following commands:</p>
  
  <pre><code>npm init
  npm install discord.js --save
  npm install ffmpeg --save
  </code></pre>
  
  <p>Now i just created the code for a basic bot <a href="https://hastebin.com/qarijerara.js" rel="nofollow noreferrer">here</a> is the main code.
  I list here the important:</p>
  
  <pre><code> if (message.content === '!play' &amp;&amp; message.member.roles.has(message.guild.roles.find("name", config.role_name).id)) {
      if (!message.member.voiceChannel) return log("?");
         message.member.voiceChannel.join().then(function (connection){      
         });
   }
  </code></pre>
  
  <p>Then, in Discord, I say the following:</p>
  
  <pre><code> [1517932146]  Musik bot loaded
      (node:35760) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: FFMPEG not found
  </code></pre>
  
  <p>I have already tested the following:</p>
  
  <ul>
  <li>reinstallation of everything</li>
  <li>others of the require names e.t.z.</li>
  <li>simplify the code</li>
  </ul>
  
  <p>So if you have any ideas then let me know.</p>
  
  <h2>Solution</h2>
  
  <pre><code>npm i ffmpeg-binaries@3.2.2-3
  </code></pre>
  
  <p><a href="https://stackoverflow.com/a/54317598/8412857">link</a></p>