Add the following code to your project's shard.yml under:
to use in production
- OR -
development_dependencies to use in development
Talkwatch is an automated moderator for ReplTalk that listens to recent posts and comments and filters out sketchy content. "Sketchy" content inlcudes but is not limited to:
Since sketchy content detection can be innacurate in a multitude of ways, Talkwatch will never take any action more drastic than a warn. All actions that Talkwatch takes will be made public on the main site and can be viewed in the logs.
This project is still a work in progress, and there's a lot of stuff that could break or go wrong. Talkwatch will only make reports until it's got a proven track record of making accurate detections of sketchy content. Until then, it's better to play it safe.
Talkwatch is powered by making requests to Replit's GraphQL API, and the code to perform these actions will remain hidden for the obvious purpose of security and safety. Wouldn't want just anybody to start automating their ReplTalk accounts!
Building and Running:
git clone https://github.com/frissyn/talkwatch.git
.envfile and put in your Replit sid:
Note: As stated before, the GraphQL queries will not be included, so you need to implement your own in order for the moderator to actually work. (You also need a sid with moderator permissions lol).