discord js find word inside comment

Solutions on MaxInterview for discord js find word inside comment by the best coders in the world

showing results for - "discord js find word inside comment"
Elif
26 May 2020
1var words = ["insert", "your", "words"]
2
3for (var i=0; i < words.length; i++) {
4
5 if (message.content.includes(words[i])) {
6
7  // YOUR CODE
8
9 }
10
11}
12