Answers for "blacklisted word system discord.js provide the blacklisted word"

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 "blacklisted word system discord.js provide the blacklisted word"

Code answers related to "Javascript"

Browse Popular Code Answers by Language