[Solved] How do I make my bot pick a random image from a selection of images


I think you should do this by first generating a random number (see: Generate random number between two numbers in JavaScript ) and then save that as the variable num. Then, replace the ${random 1-10} with ${num} and switch the ‘ to `. I hope this helps. Also, I’m not sure why there is a random f before the file name but I think you should remove that.

0

solved How do I make my bot pick a random image from a selection of images