var words = ["insert", "your", "words"] for (var i=0; i < words.length; i++) { if (message.content.includes(words[i])) { // YOUR CODE } }