📅  最后修改于: 2022-03-11 15:02:30.635000             🧑  作者: Mango
let blacklisted = ['word', 'word'];
let foundInText = false;
for (var i in blacklisted) {
if (message.content.toLowerCase().includes(blacklisted[i].toLowerCase())) foundInText = true;
}
if (foundInText) {
message.delete();
Message.channel.send();