script help.

[SPRG] chill boy
Joined 22/11/2020
Posts 48
03:07 PM 01/12/2020
can someone help me by filtering the chat so no one could swear please.


[Deleted341429]
Joined 05/07/2020
Posts 444
03:08 PM 01/12/2020
[ Content Removed ]


[Ki] Saiki
Joined 20/06/2019
Posts 4,957
03:08 PM 01/12/2020
what language?


[TLVK] Edge.
Joined 19/05/2020
Posts 2,266
03:54 PM 01/12/2020
Filtering the chat itself is pretty hard, but I'm interested on working on something like it. Maybe i can look for an Online API to filter for us.


[TLVK] Edge.
Joined 19/05/2020
Posts 2,266
04:00 PM 01/12/2020
Quote from Edge. , 03:54 PM 01/12/2020
Filtering the chat itself is pretty hard, but I'm interested on working on something like it. Maybe i can look for an Online API to filter for us.
I found an API!

https://www.purgomalum.com/service/containsprofanity?text=text here

Just make it so on the chat event the message is sent to the API, and then the response is read.

If the response is True, then the message is not sent. Else it is sent.

Pretty simple!

For the requests you can either use Phin or Axios, being Phin recommended for node-hill


[MILK] vv0id1sm
Joined 07/10/2019
Posts 16,080
04:56 AM 02/12/2020
I made a custom chat filter for brick-hill games

hmu on discord @v0id1sm#0264 and I can give you the thing

1