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();
Also in JavaScript:
- lookup in mongodb array
- documenting functions javascript
- The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost')
- material ui grid react
- implement subscript operator js
- jquery submit form on enter
- random number js
- discord.js bot
- onclick start and stop the count react
- how to get the last element of an array in javascript
- popper.min.js:4 Uncaught SyntaxError: Unexpected token 'export'
- JSONDecoder
- get actual time jquery
- javascript string to integer
- Something bad happened. caprover
- rename file in js
- javascript sort map by value
- js arrat push
- how to find a name of class from page in jquery
- print code in js stackoverflow
- jquery select input with empty value
- vuejs take rgba values from coordinate
- $(this).text() in jquery return white space
- stopper un intervalle javascript