Ask coding questions

← Back to all posts
Images not loading?
h
hans334

I have a discord bot which works with puppeteer. It screenshots the web and save as local file and sends it in discord embed image. It works fine on other hosts and local host. On replit, the image file path exists and I can see the image file is saved. On discord embed, the image is not loaded.

On the second try, the image is loaded but it is not the updated one. It was the old image. It is like one step late. How can I fix this?

Voters
hans334