Loading image in folder

Hey so im making a discord.js bot (Nothing to do with the problem itself) And I made a command that puts a image over a users profile picture. (still un-related) And that command is in the “Commands” Folder, and the image I use for the command is in the root, And i cant seem to load the image inside folder…

I tried “./repo-name/file-name.png” (theres 2 dots but whenever i put 2 it does this …)
And nothing.
If anyone could help i would appreciate it.

1 Like

Hi @Jonchu650 welcome to the GitHub Community!

Sounds like there is an error with the path to your image file, maybe this StackOverflow thread can be useful: