Answers for "how to make it if you say a swear words discord js"

2

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();
Posted by: Guest on April-15-2020

Code answers related to "how to make it if you say a swear words discord js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language