我正在尝试在Discord机器人的automod过滤器中找到“已过滤”字样。
这是我的代码的一部分:
const banned = ['insert extremely long list of banned words here']
const check = banned.some((substring) => msg.content.toLowerCase().includes(substring))
if (check === true){
[message log]
}
我认为还有另一个字符串过滤器,我不确定它会是什么。