Ask coding questions

← Back to all posts
part of code that contains bad words.
mcdonaldsAt3Am (0)

How do I store a list i can access. I made a blacklist word list. this list contains bad words that I dont want to show in repl.it. is there any way i can hide them? i tried using .env but that didnt work. code doesnt work properly. Bot deletes all mesages that are sent. and pings himself. bot deletes even non blacklisted words.

Comments
hotnewtop
InvisibleOne (3264)

if you are using node, you should just use bad-words
https://www.npmjs.com/package/bad-words