title: Make my discord.js bot to send a random picture from an array of images from my computer
body: <p>I am trying to make my bot that sends a random picture from an array (list) of pictures that I have on my computer. However, when I try to create an embed to send the image it says:</p>
  <pre><code>C:\Users\47920\Desktop\Discord Bot\node_modules\discord.js\src\rest\RequestHandler.js:154
        throw new DiscordAPIError(request.path, data, request.method, res.status);
              ^
  
  DiscordAPIError: Invalid Form Body
  embed.image.url: Scheme &quot;./something.jpg&quot; is not supported. Scheme must be one of ('http', 'https').
      at RequestHandler.execute (C:\Users\47920\Desktop\Discord Bot\node_modules\discord.js\src\rest\RequestHandler.js:154:13)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async RequestHandler.push (C:\Users\47920\Desktop\Discord Bot\node_modules\discord.js\src\rest\RequestHandler.js:39:14) {
    method: 'post',
    path: '/channels/821475002938294316/messages',
    code: 50035,
    httpStatus: 400
  </code></pre>
  <p>My code is below:</p>
  <pre class="lang-js prettyprint-override"><code>case &quot;andreas&quot;:
    var imagges = ['./knife.jpg', './lestab.jpg', './sexy.jpg', './timeplann.jpg'];
    var imagge = Math.floor(Math.random() * imagges.length);
    let randomern = new Discord.MessageEmbed()
      .setTitle('sheesh')
      .setAuthor('joBas')
      .setImage(String([imagges[imagge]]));
    message.channel.send(randomern);
    break;
  </code></pre>
  <p>Does anyone know how I can fix this?</p>