discord js censor word code example
Example: blacklisted word discord.js
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();