this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tweak thresholds

+3 -3
+3 -3
cmd/automod/rules.go
··· 11 11 ) 12 12 13 13 var ( 14 - GOOD_BOT_THRESHOLD = 1 15 - BAD_BOT_THRESHOLD = 1 14 + GOOD_BOT_THRESHOLD = 2 15 + BAD_BOT_THRESHOLD = 3 16 16 //BLADERUNNER_THRESHOLD = 2 17 17 //JABRONI_THRESHOLD = 2 18 18 ) ··· 66 66 goodCount = goodCount + 1 67 67 } else if vote == BadBot { 68 68 c.IncrementDistinct("bad-bot", subjectDID.String(), authorDID.String()) 69 - badCount = badCount + 1 69 + badCount = goodCount + 1 70 70 } 71 71 72 72 c.Logger.Warn("valid bot assessment", "vote", vote, "goodCount", goodCount, "badCount", badCount, "subjectLabels", subjectMeta.AccountLabels)