How do i make a discord bot reply multiple responses to multiple commands

Problem: i am trying to make a discord bot in VSCode with discord.js and i want it to respond to me if i say something, here is an example,

me: Hello or Hi or Sup or Yo (case insensative)

bot: Sup or Hello or Hi or Yo (case insensative)

this is my code so far:

let repliesHi = [“Hi”, “Hello”, “Yo”, “Sup”];
let randomHi = Math.floor(Math.random() * repliesHi.length);

client.on(“message”, message => {
if (message.content.toLowerCase() == ‘hi’, ‘hello’, ‘sup’, ‘yo’) {
if ( return;

any help would be greatly appreciated

edit: without having to restart the program everytime i want a different answer

You should better create an issue on the discordjs repository. They can provide you better help.

Move the let randomHi statement to inside the client.on block.