I'm currently trying to make a bot that automatically saves a link sent in a message. Basically, a user sends the command -save test.com/123.png
and my bot then downloads the 123.png
file.
I know how to download directly attached images/files, but need to have it work with links as well. I tried searching online for a solution already, but didn't really found anything that helped me.