The following plugin sends Talk (https://coralproject.net/products/talk.html) comments to Sherloq for moderation
Here's a video about how the integration looks:
-
Install the
sherloq-talk
plugin from NPM by following Talk plugin instructions -
Create an account in Sherloq (https://admin.sherloq.io/signup)
-
Once logged in, create a token by going the
Tokens
menu
Set the env variable SHERLOQ_TOKEN
with the token created in the previous step.
Set the following env variables in your talk setup:
SHERLOQ_TOKEN
(required) - Sherloq account API tokenSHERLOQ_API_URL
(optional for dev setup) - Sherloq API endpointSHERLOQ_CONFIG
(optional) - string based json settings:
noAction
- Settrue
if no action should be taken (defaultfalse
)flag
score
- Flag comment in dep-mod streams if SherloQ score is greater of equal to this value
reject
score
- Accept or reject comments depending on this score value