My code is below and I am trying to have the bot check for two specific conditions in the user's message. The message must contain "how" plus either "doing" or "bread". It works perfectly when using only "doing" but not when adding the "bread" condition. I am looking for a clean and simple solution to this issue and hoping someone can assist me, as it seems like the most logical way to achieve what I need.
if(msg.content.includes("how") && (msg.content.includes("doing") || msg.content.includes("bread"))){
if(msg.author != token){
msg.lineReply("I am good sir")
}
}