📅  最后修改于: 2022-03-11 15:04:17.099000             🧑  作者: Mango
const swearWords = [censored stuff]
client.on('message' message => {
for(let i = 0; i < swearWords.length; i++) {
if(message.content.includes(i) {
message.delete()
message.channel.send('Do **NOT** post swear words in the chat)
}
}
})