Im devleoping a discord bot ( discord.js) so, I want to create a command which is like -
+mask Name_Surname(Image URL)
and when a user uses that cmd, the bot saves the image from the image url provided into a folder with the name provided by the user. (This is like for a signature bot)
An illustrative example for the above is provided -
The users uses a cmd .upload Name (URL) and the bot saves the image ( in .png format) to a folder which already exists with the "Name" provided by the user.
Click Here to View the example
Im pretty new to this, so what I would like is an example code for the above ^^ so that I can work it out myself. I hope someone can help me! Thanks