bot.on('message', msg=>{
if(msg.content.includes(“hi” or? “hello” or? “hey”)){
msg.reply(“hi” or? “hello” or? “hey”);
}
})
I’m coding a discord bot on my server and I want to add a feature where it responds to people. I want to make it so that my bot can detect multiple ways a user greets and have it greet them back.