discord.js find word inside comment

JavaScript
var words = ["insert", "your", "words"]

for (var i=0; i < words.length; i++) {

 if (message.content.includes(words[i])) {

  // YOUR CODE

 }

}

Source

Also in JavaScript: