get a random message discord.js code example
Example: discord.js random message
// Add here the messages you want to be displayed.
const messages = ["Message1", "Message2", "Message3", "Message4"]
const randomMessage = messages[Math.floor(Math.random() * messages.length)];
// The message will log into the console!
console.log(randomMessage)