Local image not rendering in embed

I'm trying to add a local image in an embed. Here is my code:

      const attachment = new AttachmentBuilder('./storage/webcam_pic.png')
      console.log(attachment)

      client.channels.cache.get('1280696749689933875').send({embeds: [{
        title: `Today's Image`,
        image: {
          url: `attachment://webcam_pic.png`
          }}],
          files: [attachment]
      })

This is what it sends as:
image.png
Was this page helpful?