📜  discord.js 在评论中查找单词 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:49.597000             🧑  作者: Mango

代码示例1
var words = ["insert", "your", "words"]

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

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

  // YOUR CODE

 }

}