Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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();
Comment

PREVIOUS NEXT
Code Example
Javascript :: avoid-browser-pop-up-blockers 
Javascript :: how to convert variable to string in jquery 
Javascript :: validate time hh:mm from excel javascript 24 hours 
Javascript :: strip add usage api docuemntation 
Javascript :: 10.3.1. Function Syntax 
Javascript :: get search value from reacr route2 
Javascript :: custom http vue 2 
Javascript :: nativescript build debug apk 
Javascript :: element.queryselector possibly null 
Javascript :: import image in react js 
Javascript :: The attribute name of [ *ngFor ] must be in lowercase.(attr-lowercase) in VSCode 
Javascript :: javascript Ecrire une fonction afficherTable2() qui affiche la table de multiplication de 2 dans le contenu d’un élément p. 
Javascript :: jquery add number as id variable 
Javascript :: graphql Int cannot represent non-integer value 
Javascript :: nodejs string value check === and !== 
Javascript :: javascript client side email 
Javascript :: outline none react native web 
Javascript :: react get dynamic window sizes 
Javascript :: how to pop more then one element js 
Javascript :: how to show numbers in javascript using while loop 
Javascript :: axios try catch get status code 
Javascript :: howler.js play file 
Javascript :: turn any function into promise 
Javascript :: how to make model class for complex json in flutter 
Javascript :: lib.js 
Javascript :: Message on a kendo loader 
Javascript :: link the filename to the visible layer 
Javascript :: js convert urls in content to links 
Javascript :: jquery toucheswipe 
Javascript :: example of post increment in js 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =