Closed LankyBox01 closed 3 years ago
Please PR for issues that are marked "help wanted".
Please PR for issues that are marked "help wanted".
I didn't know that, tho
@FunctionalMetatable is right. i dont think this works anyways, filterWords is not defined.
you have to import it first
did you read the docs
There is a number of flaws in the suggested solution:
String.replaceAll
cannot function in Node.js. The only way around this is to use RegExp. (There are many instances of replaceAll
in this code.)var
is repeated tons of timeswindow
is undefined in Node.jsTake the above as constructive criticism.
- The code itself contains swear words. If jeffalo was to implement this, it is possible for the ST to ban linking to this repository.
yes, you would have to rot13 or otherwise encode the swears, then decode them in the code.
String.replaceAll
cannot function in Node.js. The only way around this is to use RegExp. (There are many instances ofreplaceAll
in this code.)
not entirely true. you just need a version of node that supports it, and seeing as replaceAll
is pretty new...yeah use replace
- Node.js cannot import scripts from a URL.
you can npm install
from git if there is a package.json
Please import the anti-profanity plug-in to the dashboard in order for this to work.
https://github.com/CodeGuy92/anti-profanity#readme Docs are here ^^^