const dispatcher = connection.playFile('C:/Users/Discord/Desktop/${myArray[Math.floor(Math.random() * 10)]}');
I need the string in the connection.playFile
function to be able to take a value from an array so that I can pass in filenames.
const dispatcher = connection.playFile('C:/Users/Discord/Desktop/${myArray[Math.floor(Math.random() * 10)]}');
I need the string in the connection.playFile
function to be able to take a value from an array so that I can pass in filenames.