Answers for "discord random message"

0

discord random message

client.on('message', msg => {
const Responses = [
    "رسالة 1",
    "رسالة 2",
    "رسالة 3",
    "رسالة 4",
    "رسالة 5"
];
const Response = Math.floor(Math.random() * Responses.length);
  if (msg.content === 'رسالة') {
    msg.reply(Responses[Response]);
 }
});
Posted by: Guest on June-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language